From f50e17b60f631727d1b8231397f1fbfa89f1b381 Mon Sep 17 00:00:00 2001 From: John Thomson Date: Sat, 4 Sep 2010 11:33:30 +0200 Subject: [PATCH] Take disc number into account for track ordering inside albums --- src/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.c b/src/db.c index 8756e61f..b055752e 100644 --- a/src/db.c +++ b/src/db.c @@ -250,7 +250,7 @@ static const char *sort_clause[] = { "", "ORDER BY title COLLATE DAAP ASC", - "ORDER BY track ASC, album COLLATE DAAP ASC", + "ORDER BY album COLLATE DAAP ASC, disc ASC, track ASC", }; static char *db_path;