From 6dadb052c8383d5d93f65d1c133f35ae14cb65f1 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Wed, 20 May 2026 11:44:54 +0200 Subject: [PATCH] Enable pagination and alphabet picker on the Studios view --- src/apps/experimental/routes/movies/index.tsx | 3 +-- src/apps/experimental/routes/shows/index.tsx | 3 +-- src/hooks/useFetchItems.ts | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/experimental/routes/movies/index.tsx b/src/apps/experimental/routes/movies/index.tsx index b3464abe7b..57f0f24001 100644 --- a/src/apps/experimental/routes/movies/index.tsx +++ b/src/apps/experimental/routes/movies/index.tsx @@ -56,8 +56,7 @@ const studiosTabContent: LibraryTabContent = { itemType: [BaseItemKind.Movie], isBtnFilterEnabled: false, isBtnGridListEnabled: false, - isBtnSortEnabled: false, - isAlphabetPickerEnabled: false + isBtnSortEnabled: false }; const moviesTabMapping: LibraryTabMapping = { diff --git a/src/apps/experimental/routes/shows/index.tsx b/src/apps/experimental/routes/shows/index.tsx index d280c7ed55..bd65dcedd6 100644 --- a/src/apps/experimental/routes/shows/index.tsx +++ b/src/apps/experimental/routes/shows/index.tsx @@ -28,8 +28,7 @@ const studiosTabContent: LibraryTabContent = { itemType: [BaseItemKind.Series], isBtnFilterEnabled: false, isBtnGridListEnabled: false, - isBtnSortEnabled: false, - isAlphabetPickerEnabled: false + isBtnSortEnabled: false }; const upcomingTabContent: LibraryTabContent = { diff --git a/src/hooks/useFetchItems.ts b/src/hooks/useFetchItems.ts index 62df002006..2b0ba9fb6d 100644 --- a/src/hooks/useFetchItems.ts +++ b/src/hooks/useFetchItems.ts @@ -301,6 +301,8 @@ const fetchGetItemsViewByType = async ( userId: user.Id, parentId: parentId ?? undefined, ...getFieldsQuery(viewType, libraryViewSettings), + ...getLimitQuery(), + ...getAlphaPickerQuery(libraryViewSettings), includeItemTypes: itemType, enableImageTypes: [ImageType.Thumb], startIndex: libraryViewSettings.StartIndex