diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-26 15:12:21 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-26 15:12:21 +0700 |
| commit | 96ba337041e6b157abc8e6f7def1525e340be21a (patch) | |
| tree | 3a2298339cf068f0e62d690da395347e246353f9 /src/pages/api | |
| parent | 77e49bf7f69a0712da632ddec5b9bd0926389955 (diff) | |
<mqidad> push ulang
Diffstat (limited to 'src/pages/api')
| -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') { |
