diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-07 17:13:30 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-07 17:13:30 +0700 |
| commit | 538f2ef24eb8c6ae21a07f27614ce1b944553283 (patch) | |
| tree | 57d50a307f9425a51510f8b79143aa9a43b49e04 /src/lib/flashSale/components | |
| parent | 3bf7a3f59586105d4ee02a43b9c354b06083a7d3 (diff) | |
<iman> merge all promotion
Diffstat (limited to 'src/lib/flashSale/components')
| -rw-r--r-- | src/lib/flashSale/components/FlashSaleNonDisplay.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/flashSale/components/FlashSaleNonDisplay.jsx b/src/lib/flashSale/components/FlashSaleNonDisplay.jsx index 85807fad..8dc15b05 100644 --- a/src/lib/flashSale/components/FlashSaleNonDisplay.jsx +++ b/src/lib/flashSale/components/FlashSaleNonDisplay.jsx @@ -52,7 +52,7 @@ const FlashSaleProduct = ({ flashSaleId }) => { useEffect(() => { const loadProducts = async () => { const dataProducts = await productSearchApi({ - query: `fq=-flashsale_id_i:${flashSaleId}&fq=flashsale_price_f:[1 TO *]&limit=500&orderBy=flashsale_discount_f desc`, + query: `fq=-flashsale_id_i:${flashSaleId}&fq=flashsale_price_f:[1 TO *]&limit=500&orderBy=flashsale-discount-desc`, operation: 'AND', }); setProducts(dataProducts.response); |
