- Fix documents being grouped by status after pagination and sorting - Use backend-sorted data directly from currentPageDocs instead of re-grouping - Preserve backend sort order to prevent status-based grouping - Maintain backward compatibility with legacy docs structure - Ensure all sorting fields (file name, dates, ID) work correctly without status grouping The issue occurred because the frontend was re-grouping already-sorted data from the backend by status, breaking the intended sort order. Now documents are displayed in the exact order returned by the backend API. Fixes: Document list sorting by file name was grouping by status instead of maintaining proper sort order across all documents. |
||
|---|---|---|
| .. | ||
| api | ||
| components | ||
| contexts | ||
| features | ||
| hooks | ||
| lib | ||
| locales | ||
| services | ||
| stores | ||
| App.tsx | ||
| AppRouter.tsx | ||
| i18n.ts | ||
| index.css | ||
| main.tsx | ||
| vite-env.d.ts | ||