Fix various small sort issues

This commit is contained in:
Deluan
2020-04-24 17:37:28 -04:00
parent 1dd3a794f8
commit 8dcca76ec9
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func NewAlbumRepository(ctx context.Context, o orm.Ormer) model.AlbumRepository
r.ormer = o
r.tableName = "album"
r.sortMappings = map[string]string{
"artist": "compilation asc, album_artist asc, name asc",
"artist": "compilation asc, order_album_artist_name asc, order_album_name asc",
"random": "RANDOM()",
}
r.filterMappings = map[string]filterFunc{