1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3481 from Maxr1998/album-tracks-index-sort

This commit is contained in:
Bill Thornton 2022-03-08 18:36:23 -05:00 committed by GitHub
commit 4340b06101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1327,7 +1327,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';
}