From c573b1b92cbb06d98b3f668e6522751cdc87e80e Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 5 Sep 2026 19:14:54 +0000 Subject: [PATCH] teacher-reported-today: sort cards by reportHour ascending Cards were sorted by reportDate DESC, which is a no-op within a single day (the default filter view) since every row shares the same date - actual card order fell back to whatever order the view query happened to return. Sort by reportHour ascending instead, so the earliest report of the day shows first. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01KeX6BFe7P4pHLPm3VwFjPn --- client/src/entities/teacher-reported-today.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/entities/teacher-reported-today.jsx b/client/src/entities/teacher-reported-today.jsx index 0b11b0bf..19c7bebb 100644 --- a/client/src/entities/teacher-reported-today.jsx +++ b/client/src/entities/teacher-reported-today.jsx @@ -155,7 +155,7 @@ const List = ({ filter = {} }) => { filterDefaultValues={filterDefaultValues} exporter={false} empty={} - sort={{ field: 'reportDate', order: 'DESC' }} + sort={{ field: 'reportHour', order: 'ASC' }} configurable={false} perPage={LIST_PAGE_SIZE} pagination={false} @@ -171,7 +171,7 @@ const entity = { filterDefaultValues, exporter: false, configurable: false, - sort: { field: 'reportDate', order: 'DESC' }, + sort: { field: 'reportHour', order: 'ASC' }, }; export default { ...getResourceComponents(entity), list: List };