fix: sort schedules newest-first #98

Merged
owlburtoe merged 1 commit from fix/schedules-newest-first into main 2026-05-21 21:19:34 -04:00
Owner

Fixes #97.

Summary

  • Order department schedule lists by created_at DESC, id DESC in createDepartmentRepo().getSchedules().
  • Apply same ordering to paginated and unpaginated repository reads.
  • Add repository coverage for newest-first ordering and deterministic id tie-breaks.

Validation

  • cd apps/backend && pnpm tsc --noEmit
  • cd apps/frontend && pnpm check-types

Note: local backend DB suite requires the Linux/Docker test harness and was not run in this macOS session.

Fixes #97. ## Summary - Order department schedule lists by created_at DESC, id DESC in createDepartmentRepo().getSchedules(). - Apply same ordering to paginated and unpaginated repository reads. - Add repository coverage for newest-first ordering and deterministic id tie-breaks. ## Validation - cd apps/backend && pnpm tsc --noEmit - cd apps/frontend && pnpm check-types Note: local backend DB suite requires the Linux/Docker test harness and was not run in this macOS session.
fix: sort schedules newest-first
All checks were successful
Code Scanning / Gitleaks secret scan (pull_request) Successful in 7s
Security, Type Check & Runtime / Dependency Audit (pull_request) Successful in 18s
Code Scanning / Semgrep OSS source scan (pull_request) Successful in 37s
Security, Type Check & Runtime / Type Check (pull_request) Successful in 50s
Security, Type Check & Runtime / Backend Runtime Smoke (pull_request) Successful in 41s
Security, Type Check & Runtime / Migration Guardrails (pull_request) Successful in 15s
Android / Android Validation (pull_request) Successful in 4m28s
E2E Tests / e2e (pull_request) Successful in 7m58s
Code Scanning / Semgrep OSS source scan (push) Successful in 37s
Code Scanning / Gitleaks secret scan (push) Successful in 6s
Security, Type Check & Runtime / Dependency Audit (push) Successful in 20s
Security, Type Check & Runtime / Type Check (push) Successful in 1m1s
Security, Type Check & Runtime / Backend Runtime Smoke (push) Successful in 39s
Security, Type Check & Runtime / Migration Guardrails (push) Successful in 14s
Android / Android Validation (push) Successful in 4m22s
E2E Tests / e2e (push) Successful in 8m53s
5d07b20e98
owlburtoe deleted branch fix/schedules-newest-first 2026-05-21 21:19:34 -04:00
Sign in to join this conversation.
No description provided.