diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-11 13:29:15 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-11 13:29:15 +0700 |
| commit | 79a947ac63c33976fe06f54d9ee9385d19caf4a5 (patch) | |
| tree | e44ad3420d88bb4f32bf1572dd896f1e126c9e33 | |
| parent | 280bbb7325b35860eb1cc807d531e7cc9b5138b2 (diff) | |
fix field tampil di index
| -rw-r--r-- | indoteknik_custom/models/solr/product_public_category.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 '', |
