diff --git a/src/apps/stable/features/search/api/useArtistsSearch.ts b/src/apps/stable/features/search/api/useArtistsSearch.ts index aa929d18e9..def31ee0dc 100644 --- a/src/apps/stable/features/search/api/useArtistsSearch.ts +++ b/src/apps/stable/features/search/api/useArtistsSearch.ts @@ -34,7 +34,7 @@ export const useArtistsSearch = ( const userId = user?.Id; return useQuery({ - queryKey: ['ArtistsSearch', collectionType, parentId, searchTerm], + queryKey: ['Search', 'Artists', collectionType, parentId, searchTerm], queryFn: ({ signal }) => fetchArtists( api!, userId!, diff --git a/src/apps/stable/features/search/api/useLiveTvSearch.ts b/src/apps/stable/features/search/api/useLiveTvSearch.ts index 2f5ce822c8..6cdde3602e 100644 --- a/src/apps/stable/features/search/api/useLiveTvSearch.ts +++ b/src/apps/stable/features/search/api/useLiveTvSearch.ts @@ -142,7 +142,7 @@ export const useLiveTvSearch = ( const userId = user?.Id; return useQuery({ - queryKey: ['LiveTv', collectionType, parentId, searchTerm], + queryKey: ['Search', 'LiveTv', collectionType, parentId, searchTerm], queryFn: ({ signal }) => fetchLiveTv(api!, userId!, searchTerm, signal), enabled: !!api && !!userId && !!collectionType && !!isLivetv(collectionType) diff --git a/src/apps/stable/features/search/api/usePeopleSearch.ts b/src/apps/stable/features/search/api/usePeopleSearch.ts index 92f1f0f3d4..943b611478 100644 --- a/src/apps/stable/features/search/api/usePeopleSearch.ts +++ b/src/apps/stable/features/search/api/usePeopleSearch.ts @@ -36,7 +36,7 @@ export const usePeopleSearch = ( const isPeopleEnabled = (!collectionType || isMovies(collectionType) || isTVShows(collectionType)); return useQuery({ - queryKey: ['PeopleSearch', collectionType, parentId, searchTerm], + queryKey: ['Search', 'People', collectionType, parentId, searchTerm], queryFn: ({ signal }) => fetchPeople( api!, userId!, diff --git a/src/apps/stable/features/search/api/useSearchItems.ts b/src/apps/stable/features/search/api/useSearchItems.ts index 4b7ba84114..a799b4fa68 100644 --- a/src/apps/stable/features/search/api/useSearchItems.ts +++ b/src/apps/stable/features/search/api/useSearchItems.ts @@ -29,7 +29,7 @@ export const useSearchItems = ( const isLiveTvEnabled = !isLiveTvPending || !collectionType || !isLivetv(collectionType); return useQuery({ - queryKey: ['SearchItems', collectionType, parentId, searchTerm], + queryKey: ['Search', 'Items', collectionType, parentId, searchTerm], queryFn: async ({ signal }) => { if (liveTvSections && collectionType && isLivetv(collectionType)) { return sortSections(liveTvSections); diff --git a/src/apps/stable/features/search/api/useVideoSearch.ts b/src/apps/stable/features/search/api/useVideoSearch.ts index 3eafbd46da..4ae736c076 100644 --- a/src/apps/stable/features/search/api/useVideoSearch.ts +++ b/src/apps/stable/features/search/api/useVideoSearch.ts @@ -42,7 +42,7 @@ export const useVideoSearch = ( const userId = user?.Id; return useQuery({ - queryKey: ['VideoSearch', collectionType, parentId, searchTerm], + queryKey: ['Search', 'Video', collectionType, parentId, searchTerm], queryFn: ({ signal }) => fetchVideos( api!, userId!,