Fix sorting albums by year (should use name as secondary sort field).

Relates to https://github.com/navidrome/navidrome/issues/961#issuecomment-967624681
This commit is contained in:
Deluan
2021-11-17 21:47:14 -05:00
parent 3bd6f82c80
commit d4447e373f
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export const useGetHandleArtistClick = (width) => {
return (id) => {
return config.devShowArtistPage && id !== config.variousArtistsId
? `/artist/${id}/show`
: `/album?filter={"artist_id":"${id}"}&order=ASC&sort=maxYear&displayedFilters={"compilation":true}&perPage=${perPage}`
: `/album?filter={"artist_id":"${id}"}&order=ASC&sort=max_year&displayedFilters={"compilation":true}&perPage=${perPage}`
}
}