diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-05-26 08:14:18 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-05-26 08:14:18 +0000 |
| commit | 7bceb663cfdaf268082555501d627acd9ade3429 (patch) | |
| tree | 3a2298339cf068f0e62d690da395347e246353f9 /src | |
| parent | f601901c3a40e6b293f14d8879cc2e9e8e9d5599 (diff) | |
| parent | 96ba337041e6b157abc8e6f7def1525e340be21a (diff) | |
Merged in fix/ready-stock (pull request #410)
<mqidad> push ulang
Diffstat (limited to 'src')
| -rw-r--r-- | src/pages/api/shop/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/api/shop/search.js b/src/pages/api/shop/search.js index 8ab5c87c..e14b0ca2 100644 --- a/src/pages/api/shop/search.js +++ b/src/pages/api/shop/search.js @@ -90,7 +90,7 @@ export default async function handler(req, res) { ]; if (orderBy === 'stock') { - filterQueries.push('stock_total_f:{0 TO *}'); // Hanya produk dengan stock > 0 + filterQueries.push('stock_total_f:{0 TO *}'); } if (fq && source != 'similar' && typeof fq != 'string') { |
