Add search param to album artist list

This commit is contained in:
jeffvli 2022-12-30 22:54:00 -08:00
parent a693981333
commit 085a3856e0
2 changed files with 2 additions and 0 deletions

View file

@ -177,6 +177,7 @@ const getAlbumArtistList = async (args: AlbumArtistListArgs): Promise<JFAlbumArt
limit: query.limit,
parentId: query.musicFolderId,
recursive: true,
searchTerm: query.searchTerm,
sortBy: albumArtistListSortMap.jellyfin[query.sortBy],
sortOrder: sortOrderMap.jellyfin[query.sortOrder],
startIndex: query.startIndex,

View file

@ -159,6 +159,7 @@ const getAlbumArtistList = async (args: AlbumArtistListArgs): Promise<NDAlbumArt
_order: sortOrderMap.navidrome[query.sortOrder],
_sort: albumArtistListSortMap.navidrome[query.sortBy],
_start: query.startIndex,
name: query.searchTerm,
...query.ndParams,
};