🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix: group compilations together in the restful API. fix #93
Deluan97d95ea7942d
diff --git a/persistence/album_repository.go b/persistence/album_repository.goindex 5df75cb8b..034159c32 100644--- a/persistence/album_repository.go+++ b/persistence/album_repository.go@@ -20,6 +20,10 @@ func NewAlbumRepository(ctx context.Context, o orm.Ormer) model.AlbumRepositoryr.ctx = ctxr.ormer = or.tableName = "album"+ r.sortMappings = map[string]string{+ "artist": "compilation asc, album_artist asc, name asc",+ }+return r}