summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-03 09:35:11 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-03 09:35:11 +0700
commitc617ed4000d1683a5ca9bdcf88b8ec6da6d9f8f0 (patch)
treee7b453d9a614acde295add4adecce29dce22bc94
parent3d70fa89180cd3318b0f952c0f628d3bb1313340 (diff)
fix bug description
-rw-r--r--indoteknik_custom/models/solr/product_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py
index b5fed4fa..d8dec47c 100644
--- a/indoteknik_custom/models/solr/product_template.py
+++ b/indoteknik_custom/models/solr/product_template.py
@@ -109,7 +109,7 @@ class ProductTemplate(models.Model):
"category_name_s": ', '.join(category_names), # Nama kategori sebagai string yang dipisahkan koma
"category_name": category_names, # Nama kategori sebagai list
"description_t": template.website_description or '',
- "description_clean_t": website_description or '',
+ "description_clean_t": cleaned_desc or '',
'has_product_info_b': True,
'publish_b': not template.unpublished,
'sni_b': template.unpublished,