From 4758a0989f2ec0d79e1c5e3a3d42c249f28a9e72 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 26 Jul 2024 14:13:20 +0700
Subject: <iman> update code category management

---
 src/lib/product/components/ProductSearch.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/product/components/ProductSearch.jsx')

diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index 413f4fb2..cd7cda9f 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -74,7 +74,7 @@ const ProductSearch = ({
   useEffect(() => {
     const ids = collectIds(dataCategoriesProduct);
     const newQuery = {
-      fq: `category_id_i:(${ids.join(' OR ')})`,
+      fq: `category_id_ids:(${ids.join(' OR ')})`,
       page: 1,
       brand : router.query.brand? router.query.brand : '',
     };
-- 
cgit v1.2.3

