summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/solr/promotion_program.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-13 09:35:49 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-13 09:35:49 +0700
commit00c433febb54683b602641078d75db9ce4bbc9b5 (patch)
tree3472e97836a68aeaf57df3d8983a676b9dd6c304 /indoteknik_custom/models/solr/promotion_program.py
parent3681206164462bcd6fe84808b7639c5994a9510f (diff)
<iman> update code image
Diffstat (limited to 'indoteknik_custom/models/solr/promotion_program.py')
-rw-r--r--indoteknik_custom/models/solr/promotion_program.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/promotion_program.py b/indoteknik_custom/models/solr/promotion_program.py
index db029adc..014e8062 100644
--- a/indoteknik_custom/models/solr/promotion_program.py
+++ b/indoteknik_custom/models/solr/promotion_program.py
@@ -30,7 +30,7 @@ class PromotionProgram(models.Model):
'id': rec.id,
'name_s': rec.name,
'banner_s': ir_attachment.api_image(self._name, 'banner', rec.id) if rec.banner else '',
- 'image_s': ir_attachment.api_image(self._name, 'image', rec.id) if rec.banner else '',
+ 'image_s': ir_attachment.api_image(self._name, 'image', rec.id) if rec.image else '',
'keywords': [x.name for x in rec.keyword_ids],
'line_ids': [x.id for x in rec.program_line],
'start_time_s': self._time_format(rec.start_time),