Commit Graph

6 Commits

Author SHA1 Message Date
riefive 51ddb9d8b5 fix: resolve conflict 2025-10-06 09:40:22 +07:00
munawwirul_jamal 2da4e616ba dev: hotfix refactor
+ merged pub/custom-ui and pub/base into my-ui
- droped pub/custom-ui
2025-10-05 09:45:17 +07:00
riefive 39d2869ffb fix: list with params error 2025-10-04 08:30:17 +07:00
riefive 4908f16770 fix: search on list file 2025-10-04 08:30:16 +07:00
Khafid Prayoga 26b0cf12e3 refactor(api): consolidate query param transformation into utility function
Move URL parameter construction logic from multiple list components to a shared transform function in usePaginatedList. This improves code reuse and maintainability while keeping the same functionality.

Standardize query parameter names to match backend expectations ('page-number' and 'page-size' instead of 'page' and 'pageSize'). Update related schema and default params accordingly.
2025-09-11 13:28:07 +07:00
Khafid Prayoga d9a675be05 refactor(composables): extract pagination logic into usePaginatedList composable
- Remove duplicate schema.query.ts files from unit, division, and installation components
- Create new usePaginatedList composable to centralize pagination logic
- Update list.vue components to use the new composable
- Maintain same functionality while reducing code duplication
2025-09-04 16:19:51 +07:00