summaryrefslogtreecommitdiff
path: root/src/lib/home/hooks
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-19 16:45:46 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-19 16:45:46 +0700
commit8564ea1361d40560679df6823b28dfc7e02ab197 (patch)
tree85518861fe4ae190c1f62264adace5040ca92b86 /src/lib/home/hooks
parent0840f5ccc7493dfa091508db84bad8a21e073268 (diff)
<iman> update view category dynamic
Diffstat (limited to 'src/lib/home/hooks')
-rw-r--r--src/lib/home/hooks/useCategoryManagement.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/home/hooks/useCategoryManagement.js b/src/lib/home/hooks/useCategoryManagement.js
index 7c01df6e..db4e79e1 100644
--- a/src/lib/home/hooks/useCategoryManagement.js
+++ b/src/lib/home/hooks/useCategoryManagement.js
@@ -1,7 +1,7 @@
export const fetchProductManagementSolr = async () => {
try {
const queryParams = new URLSearchParams({q: 'type_value_s:bundling'})
- const response = await fetch(`/solr/product_category_management/query?q=*:*&q.op=OR&indent=true`);
+ const response = await fetch(`/solr/product_category_management/query?q=*:*&q.op=OR&sort=sequence_i asc&indent=true`);
// console.log("response", response)
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);