From 79a947ac63c33976fe06f54d9ee9385d19caf4a5 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Mon, 11 Sep 2023 13:29:15 +0700 Subject: fix field tampil di index --- indoteknik_custom/models/solr/product_public_category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/solr/product_public_category.py b/indoteknik_custom/models/solr/product_public_category.py index 0bb34674..d6a37571 100644 --- a/indoteknik_custom/models/solr/product_public_category.py +++ b/indoteknik_custom/models/solr/product_public_category.py @@ -51,7 +51,7 @@ class ProductPublicCategory(models.Model): 'website_meta_title_s': category.website_meta_title or '', 'website_meta_keywords_s': category.website_meta_keywords or '', 'website_meta_desc_t': category.website_meta_description or '', - 'tampil_di_index_b': category.x_studio_field_4qhoN or '', + 'tampil_di_index': category.x_studio_field_4qhoN if category.x_studio_field_4qhoN is not None else False, 'sequence_frontend_i': category.sequence_frontend or 0, 'parent_frontend_id_i': parent_frontend.id if parent_frontend else 0, 'parent_frontend_name_s': parent_frontend.name if parent_frontend else '', -- cgit v1.2.3