Removing custom sorter, we now use Lodash orderBy, one less responsibility

This commit is contained in:
James Barnsley
2020-11-08 20:49:48 +13:00
parent d3ad4ac28b
commit 6c0390f7b6
23 changed files with 450 additions and 568 deletions

View File

@ -377,11 +377,11 @@ class Playlist extends React.Component {
label: i18n('playlist.tracks.sort.name'),
},
{
value: 'artists.first.name',
value: 'artist',
label: i18n('playlist.tracks.sort.artist'),
},
{
value: 'album.name',
value: 'album',
label: i18n('playlist.tracks.sort.album'),
},
];