diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-13 09:11:22 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-13 09:11:22 +0700 |
| commit | 3681206164462bcd6fe84808b7639c5994a9510f (patch) | |
| tree | 5acc7df451e7ac4a86974e5a2a862078cca808e9 | |
| parent | 6ff0d84f96fc104033732c00a553eee16e432169 (diff) | |
<iman> add image_s to solr promotion program
| -rw-r--r-- | indoteknik_custom/models/solr/promotion_program.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/solr/promotion_program.py b/indoteknik_custom/models/solr/promotion_program.py index 583d7df3..db029adc 100644 --- a/indoteknik_custom/models/solr/promotion_program.py +++ b/indoteknik_custom/models/solr/promotion_program.py @@ -30,6 +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 '', '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), |
