mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
Switch sort clauses to *_sort fields
This commit is contained in:
parent
91a5250143
commit
9e5015ffc8
6
src/db.c
6
src/db.c
@ -255,9 +255,9 @@ static const struct col_type_map wi_cols_map[] =
|
||||
static const char *sort_clause[] =
|
||||
{
|
||||
"",
|
||||
"ORDER BY title COLLATE DAAP ASC",
|
||||
"ORDER BY album COLLATE DAAP ASC, disc ASC, track ASC",
|
||||
"ORDER BY artist COLLATE DAAP ASC",
|
||||
"ORDER BY title_sort COLLATE DAAP ASC",
|
||||
"ORDER BY album_sort COLLATE DAAP ASC, disc ASC, track ASC",
|
||||
"ORDER BY artist_sort COLLATE DAAP ASC",
|
||||
};
|
||||
|
||||
static char *db_path;
|
||||
|
Loading…
Reference in New Issue
Block a user