mirror of https://github.com/lidarr/Lidarr
Ensure correct sorting in Manage Tracks
This commit is contained in:
parent
3d615d0031
commit
980a1ac65c
|
@ -59,7 +59,7 @@ function createMapStateToProps() {
|
|||
return _.some(trackFiles.items, { id: track.trackFileId });
|
||||
});
|
||||
|
||||
const sorted = _.orderBy(filtered, ['albumId', 'absoluteTrackNumber'], ['desc', 'asc']);
|
||||
const sorted = _.orderBy(filtered, ['albumId', 'mediumNumber', 'absoluteTrackNumber'], ['desc', 'asc', 'asc']);
|
||||
|
||||
const items = _.map(sorted, (track) => {
|
||||
const trackFile = _.find(trackFiles.items, { id: track.trackFileId });
|
||||
|
|
Loading…
Reference in New Issue