Fix ND recently added sort
This commit is contained in:
parent
3e9fb521f0
commit
0db1c36d86
2 changed files with 2 additions and 1 deletions
|
@ -239,6 +239,7 @@ export enum NDSongListSort {
|
||||||
PLAY_COUNT = 'playCount',
|
PLAY_COUNT = 'playCount',
|
||||||
PLAY_DATE = 'playDate',
|
PLAY_DATE = 'playDate',
|
||||||
RATING = 'rating',
|
RATING = 'rating',
|
||||||
|
RECENTLY_ADDED = 'createdAt',
|
||||||
TITLE = 'title',
|
TITLE = 'title',
|
||||||
TRACK = 'track',
|
TRACK = 'track',
|
||||||
YEAR = 'year',
|
YEAR = 'year',
|
||||||
|
|
|
@ -530,7 +530,7 @@ export const songListSortMap: SongListSortMap = {
|
||||||
playCount: NDSongListSort.PLAY_COUNT,
|
playCount: NDSongListSort.PLAY_COUNT,
|
||||||
random: undefined,
|
random: undefined,
|
||||||
rating: NDSongListSort.RATING,
|
rating: NDSongListSort.RATING,
|
||||||
recentlyAdded: NDSongListSort.PLAY_DATE,
|
recentlyAdded: NDSongListSort.RECENTLY_ADDED,
|
||||||
recentlyPlayed: NDSongListSort.PLAY_DATE,
|
recentlyPlayed: NDSongListSort.PLAY_DATE,
|
||||||
releaseDate: undefined,
|
releaseDate: undefined,
|
||||||
year: NDSongListSort.YEAR,
|
year: NDSongListSort.YEAR,
|
||||||
|
|
Reference in a new issue