|
|
@ -59,7 +59,7 @@ function createMapStateToProps() {
|
|
|
|
return _.some(trackFiles.items, { id: track.trackFileId });
|
|
|
|
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 items = _.map(sorted, (track) => {
|
|
|
|
const trackFile = _.find(trackFiles.items, { id: track.trackFileId });
|
|
|
|
const trackFile = _.find(trackFiles.items, { id: track.trackFileId });
|
|
|
|