mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
adding EnableTotalRecordCount and Limit to Jellyfin controller genres query (#1244)
This commit is contained in:
parent
7ac8f349a5
commit
903799dae1
1 changed files with 2 additions and 0 deletions
|
|
@ -395,7 +395,9 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||||
|
|
||||||
const res = await jfApiClient(apiClientProps).getGenreList({
|
const res = await jfApiClient(apiClientProps).getGenreList({
|
||||||
query: {
|
query: {
|
||||||
|
EnableTotalRecordCount: true,
|
||||||
Fields: 'ItemCounts',
|
Fields: 'ItemCounts',
|
||||||
|
Limit: query.limit,
|
||||||
ParentId: query?.musicFolderId,
|
ParentId: query?.musicFolderId,
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
SearchTerm: query?.searchTerm,
|
SearchTerm: query?.searchTerm,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue