diff options
| author | yyamashita <yyamashita@mosquit.one> | 2026-05-10 22:56:42 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@mosquit.one> | 2026-05-10 22:56:42 +0900 |
| commit | 609dc6a3769d85e1cc4a8f06af58165be86b598c (patch) | |
| tree | 8e9c6e8741c7d6854c41fc6948172e0fc5391cd9 /app/lib | |
| parent | ec2417fc3e7029cb6fa84aa184daac2768ddad85 (diff) | |
Add band index page sorted by slug, show hiatus status only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/db.server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
