summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-26 14:13:20 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-26 14:13:20 +0700
commit4758a0989f2ec0d79e1c5e3a3d42c249f28a9e72 (patch)
treee4f0b8fd361f326a7618ae4f1e74ef9403bd70c3
parent2c2885f57e9eb15e8c7d00c3a543a71c1d6ba83e (diff)
<iman> update code category management
-rw-r--r--src/lib/product/components/ProductSearch.jsx2
1 files changed, 1 insertions, 1 deletions
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 : '',
};