diff --git a/src/modules/global-search/screens/SearchAll.tsx b/src/modules/global-search/screens/SearchAll.tsx index 1b77baef..097d69ce 100644 --- a/src/modules/global-search/screens/SearchAll.tsx +++ b/src/modules/global-search/screens/SearchAll.tsx @@ -168,6 +168,8 @@ const SourceSearchPreview = React.memo( /> ) : ( { const [query] = useQueryParam('query', StringParam); const options = useGetCategoryMetadata(category ?? DEFAULT_CATEGORY); @@ -265,5 +266,6 @@ export const useGetVisibleLibraryMangas = refetchCategoryMangas().catch(defaultPromiseErrorHandler('Library::refetchCategoryMangas')), @@ -230,6 +234,8 @@ export function Library() { return ( <> {tab === activeTab && ( { {}} diff --git a/src/modules/source/screens/SourceMangas.tsx b/src/modules/source/screens/SourceMangas.tsx index fdc12197..02e39d5e 100644 --- a/src/modules/source/screens/SourceMangas.tsx +++ b/src/modules/source/screens/SourceMangas.tsx @@ -277,6 +277,8 @@ export function SourceMangas() { setLocationContentType(newContentType); }; + const gridKey = `${contentType}${JSON.stringify(filtersToApply)}${query}`; + const [ loadPage, { data, error, isLoading: loading, size: lastPageNum, abortRequest, filteredOutAllItemsOfFetchedPage }, @@ -453,7 +455,8 @@ export function SourceMangas() { {(isLoading || !error || (!!error && !!mangas.length)) && (