diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-30 08:59:11 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-30 08:59:11 +0700 |
| commit | c114fc17c7502174415c4e4bf1e7f8e24a46998c (patch) | |
| tree | 80c7d0b0ae5525725fd5fa9112786b3685cf8bfb | |
| parent | 5bb681f2975a3fb38fcd87c89f72d18c6e794170 (diff) | |
Change name manufacture on solr to lowercase
| -rw-r--r-- | indoteknik_custom/models/solr/x_manufactures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/x_manufactures.py b/indoteknik_custom/models/solr/x_manufactures.py index 375b7708..98b1d01d 100644 --- a/indoteknik_custom/models/solr/x_manufactures.py +++ b/indoteknik_custom/models/solr/x_manufactures.py @@ -40,7 +40,7 @@ class XManufactures(models.Model): document.update({ 'id': brands.id, 'display_name_s': brands.display_name, - 'name_s': brands.x_name, + 'name_s': brands.x_name.lower(), 'sequence_i': brands.sequence or '', 'negara_asal_s': brands.x_negara_asal or '', 'short_desc_s': brands.x_short_desc or '', |
