shoc-frontend-new/src/hooks
Adam Moussa e2fc183636 Move sorting to server-side for full dataset ordering
- usePaginatedList now manages sortBy/sortDir state
- Sort params passed to fetch function and sent to API
- SharedTable receives sort state as props instead of managing internally
- Clicking column headers triggers API refetch with new sort
- Removes client-side sorting that only worked on current page
2026-04-17 12:50:23 -04:00
..
usePaginatedList.js Move sorting to server-side for full dataset ordering 2026-04-17 12:50:23 -04:00