mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 12:30:06 +02:00
Fix ND recently added sort
This commit is contained in:
@@ -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 New Issue
Block a user