Switch sort clauses to *_sort fields

This commit is contained in:
Kai Elwert 2010-09-24 12:36:46 +02:00 committed by Julien BLACHE
parent 91a5250143
commit 9e5015ffc8

View File

@ -255,9 +255,9 @@ static const struct col_type_map wi_cols_map[] =
static const char *sort_clause[] = static const char *sort_clause[] =
{ {
"", "",
"ORDER BY title COLLATE DAAP ASC", "ORDER BY title_sort COLLATE DAAP ASC",
"ORDER BY album COLLATE DAAP ASC, disc ASC, track ASC", "ORDER BY album_sort COLLATE DAAP ASC, disc ASC, track ASC",
"ORDER BY artist COLLATE DAAP ASC", "ORDER BY artist_sort COLLATE DAAP ASC",
}; };
static char *db_path; static char *db_path;