diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-18 15:43:18 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-18 15:43:18 +0700 |
| commit | 9596f3806d8f177c5a701c16be4b10c964be7c07 (patch) | |
| tree | 0ff8f366d11c1d71e326fba63dd0826418179fd6 | |
| parent | fbb30fff2489546e4c21ab55d504b6b861e70deb (diff) | |
<Miqdad> fix product rating
| -rw-r--r-- | indoteknik_custom/models/keywords.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/keywords.py b/indoteknik_custom/models/keywords.py index 225710ab..b2ada3f8 100644 --- a/indoteknik_custom/models/keywords.py +++ b/indoteknik_custom/models/keywords.py @@ -84,7 +84,7 @@ class Keywords(models.Model): JOIN product_public_category_product_template_rel rel ON rel.product_template_id = pt.id WHERE - pt.product_rating >= 3 + pt.product_rating >= 8 AND pp.active IS TRUE AND ( pt.name ILIKE %s |
