diff options
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 { |
