diff --git a/backend/app/routers/health.py b/backend/app/routers/health.py index e716f6d..a0e6a81 100644 --- a/backend/app/routers/health.py +++ b/backend/app/routers/health.py @@ -189,7 +189,7 @@ async def get_all_admin_data( query = query.order_by(sort_column.asc()) else: # DEFAULT: Show oldest first when no order is specified - query = query.order_by(Submission.created_at.asc()) + query = query.order_by(Submission.created_at.desc()) # 3. PAGINATION submissions = query.offset(start).limit(length).all() diff --git a/frontend/admin.html b/frontend/admin.html index 54bb552..a4837c8 100644 --- a/frontend/admin.html +++ b/frontend/admin.html @@ -62,7 +62,7 @@ -
+