ui: sorting

This commit is contained in:
2026-08-07 19:58:09 +02:00
parent 83eb8d3544
commit 1caab5ebf0
3 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ def fetch_birthdays_for_date(conn, target_date: date) -> list[dict]:
WHERE birthday IS NOT NULL
AND MONTH(birthday) = %s
AND DAY(birthday) = %s
ORDER BY full_name""",
ORDER BY given_name, family_name, full_name""",
(target_date.month, target_date.day),
)
rows = cur.fetchall()