Fix ND recently added sort

This commit is contained in:
jeffvli 2023-01-08 02:39:35 -08:00
parent 3e9fb521f0
commit 0db1c36d86
2 changed files with 2 additions and 1 deletions

View file

@ -239,6 +239,7 @@ export enum NDSongListSort {
PLAY_COUNT = 'playCount',
PLAY_DATE = 'playDate',
RATING = 'rating',
RECENTLY_ADDED = 'createdAt',
TITLE = 'title',
TRACK = 'track',
YEAR = 'year',

View file

@ -530,7 +530,7 @@ export const songListSortMap: SongListSortMap = {
playCount: NDSongListSort.PLAY_COUNT,
random: undefined,
rating: NDSongListSort.RATING,
recentlyAdded: NDSongListSort.PLAY_DATE,
recentlyAdded: NDSongListSort.RECENTLY_ADDED,
recentlyPlayed: NDSongListSort.PLAY_DATE,
releaseDate: undefined,
year: NDSongListSort.YEAR,