From 609dc6a3769d85e1cc4a8f06af58165be86b598c Mon Sep 17 00:00:00 2001 From: yyamashita Date: Sun, 10 May 2026 22:56:42 +0900 Subject: Add band index page sorted by slug, show hiatus status only Co-Authored-By: Claude Sonnet 4.6 --- app/lib/db.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') diff --git a/app/lib/db.server.ts b/app/lib/db.server.ts index d3e5469..ab32126 100644 --- a/app/lib/db.server.ts +++ b/app/lib/db.server.ts @@ -300,7 +300,7 @@ export function toSlug(name: string): string { // ── Band queries ────────────────────────────────────────────────────────────── export function listBands(): Band[] { - return getDb().prepare("SELECT * FROM bands ORDER BY name").all() as Band[]; + return getDb().prepare("SELECT * FROM bands ORDER BY slug").all() as Band[]; } export function getBandById(id: string): Band | null { -- cgit v1.2.3