diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-15 16:50:09 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-15 16:50:09 +0700 |
| commit | da8855a76c75d16cfa508164b8a73fd3be19ce12 (patch) | |
| tree | f631bb03294f6433689607236e9e610861771c0d | |
| parent | 4d7e2f7b6e92cbe700e5b8fcea006b3d70ed81f9 (diff) | |
<Miqdad> Temp fix ready stock
| -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 e14b0ca2..cb418cf6 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 *}'); + filterQueries.push('stock_total_f:{1 TO *}'); } if (fq && source != 'similar' && typeof fq != 'string') { |
