fix: group compilations together in the restful API. fix

This commit is contained in:
Deluan 2020-03-19 15:02:11 -04:00
parent cbbebb3264
commit 97d95ea794

@ -20,6 +20,10 @@ func NewAlbumRepository(ctx context.Context, o orm.Ormer) model.AlbumRepository
r.ctx = ctx
r.ormer = o
r.tableName = "album"
r.sortMappings = map[string]string{
"artist": "compilation asc, album_artist asc, name asc",
}
return r
}