From a9a3c3e8945dd11a0d81f64a5629876397a1e51d Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 25 Aug 2023 15:11:00 +0700 Subject: Update sync solr function --- indoteknik_custom/views/product_product.xml | 8 ++++++++ indoteknik_custom/views/product_template.xml | 14 ++++++++++++-- indoteknik_custom/views/website_categories_homepage.xml | 6 ++++-- 3 files changed, 24 insertions(+), 4 deletions(-) (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/product_product.xml b/indoteknik_custom/views/product_product.xml index d3ef3e15..3a10b4e0 100644 --- a/indoteknik_custom/views/product_product.xml +++ b/indoteknik_custom/views/product_product.xml @@ -12,5 +12,13 @@ + + + Sync to solr + + + code + model.sync_to_solr() + \ No newline at end of file diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml index 82b7ce4d..bbbcc4e1 100755 --- a/indoteknik_custom/views/product_template.xml +++ b/indoteknik_custom/views/product_template.xml @@ -9,11 +9,13 @@ - - + + + + @@ -74,5 +76,13 @@ + + + Sync to solr + + + code + model.sync_to_solr() + \ No newline at end of file diff --git a/indoteknik_custom/views/website_categories_homepage.xml b/indoteknik_custom/views/website_categories_homepage.xml index 0a3f684b..bd64f201 100644 --- a/indoteknik_custom/views/website_categories_homepage.xml +++ b/indoteknik_custom/views/website_categories_homepage.xml @@ -16,6 +16,7 @@ + @@ -33,6 +34,7 @@ + @@ -49,8 +51,8 @@ - - Sync To Solr + + Sync to solr code -- cgit v1.2.3