From da8855a76c75d16cfa508164b8a73fd3be19ce12 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Fri, 15 Aug 2025 16:50:09 +0700 Subject: Temp fix ready stock --- src/pages/api/shop/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pages') 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') { -- cgit v1.2.3