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
+3 -1
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';
}