diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-17 13:55:56 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-17 13:55:56 +0700 |
| commit | a8fb3ca1661297362e5e1a111121dd6a5e54b151 (patch) | |
| tree | 29fb6a25eae88c7de3fe73ee6559174220691ac7 /src/pages/api | |
| parent | 5802ab415b4b42d6b277fcc0db7447adb3ae66a4 (diff) | |
Fix price filter on variant solr
Diffstat (limited to 'src/pages/api')
| -rw-r--r-- | src/pages/api/shop/variant.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/api/shop/variant.js b/src/pages/api/shop/variant.js index 302b5d4a..249d087e 100644 --- a/src/pages/api/shop/variant.js +++ b/src/pages/api/shop/variant.js @@ -54,7 +54,7 @@ export default async function handler(req, res) { if (priceFrom > 0 || priceTo > 0) { parameter.push( - `fq=price_discount_f:[${priceFrom == '' ? '*' : priceFrom} TO ${ + `fq=price_tier1_v2_f:[${priceFrom == '' ? '*' : priceFrom} TO ${ priceTo == '' ? '*' : priceTo }]` ) |
