mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Sort album tracks by (Parent)IndexNumber, then SortName
Track sorting in albums could previously be incorrect if metadata specified a SortName tag. Also see: jellyfin/jellyfin#7323, jellyfin/jellyfin#7324
This commit is contained in:
parent
5d8b527b92
commit
209d731250
@ -1319,7 +1319,9 @@ function renderChildren(page, item) {
|
||||
Fields: fields
|
||||
};
|
||||
|
||||
if (item.Type !== 'BoxSet') {
|
||||
if (item.Type == 'MusicAlbum') {
|
||||
query.SortBy = 'ParentIndexNumber,IndexNumber,SortName';
|
||||
} else if (item.Type !== 'BoxSet') {
|
||||
query.SortBy = 'SortName';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user