diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-19 16:45:46 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-19 16:45:46 +0700 |
| commit | 8564ea1361d40560679df6823b28dfc7e02ab197 (patch) | |
| tree | 85518861fe4ae190c1f62264adace5040ca92b86 /src/lib/home/hooks/useCategoryManagement.js | |
| parent | 0840f5ccc7493dfa091508db84bad8a21e073268 (diff) | |
<iman> update view category dynamic
Diffstat (limited to 'src/lib/home/hooks/useCategoryManagement.js')
| -rw-r--r-- | src/lib/home/hooks/useCategoryManagement.js | 2 |
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}`); |
