From 107074b24016418c9f00f3aa5d2110abe82d2745 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 28 Sep 2024 21:35:32 -0700 Subject: [PATCH] Fix subsonic album list sort options --- .../api/subsonic/subsonic-controller.ts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/renderer/api/subsonic/subsonic-controller.ts b/src/renderer/api/subsonic/subsonic-controller.ts index c87bb4e6..23a818fa 100644 --- a/src/renderer/api/subsonic/subsonic-controller.ts +++ b/src/renderer/api/subsonic/subsonic-controller.ts @@ -15,6 +15,7 @@ import { GenreListSort, AlbumListSort, sortAlbumList, + SortOrder, } from '/@/renderer/api/types'; import { randomString } from '/@/renderer/utils'; import { ServerFeatures } from '/@/renderer/api/features-types'; @@ -25,14 +26,14 @@ const ALBUM_LIST_SORT_MAPPING: Record