From 6d037e4760f39d835a957e3228673ee27d0cb38f Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 24 Dec 2022 21:09:46 -0800 Subject: [PATCH] Fix order for recently played and recently added --- src/renderer/features/home/routes/home-route.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/features/home/routes/home-route.tsx b/src/renderer/features/home/routes/home-route.tsx index f548c1da..b3a9563b 100644 --- a/src/renderer/features/home/routes/home-route.tsx +++ b/src/renderer/features/home/routes/home-route.tsx @@ -50,7 +50,7 @@ const HomeRoute = () => { { limit: itemsPerPage, sortBy: AlbumListSort.RECENTLY_PLAYED, - sortOrder: SortOrder.ASC, + sortOrder: SortOrder.DESC, startIndex: pagination.recentlyPlayed * itemsPerPage, }, { @@ -63,7 +63,7 @@ const HomeRoute = () => { { limit: itemsPerPage, sortBy: AlbumListSort.RECENTLY_ADDED, - sortOrder: SortOrder.ASC, + sortOrder: SortOrder.DESC, startIndex: pagination.recentlyAdded * itemsPerPage, }, {