From d369cb948c8899597d7e29be538508c512c6d0f6 Mon Sep 17 00:00:00 2001 From: balanza Date: Mon, 2 Sep 2024 23:09:29 +0800 Subject: [PATCH] do not reset pages on filter change --- assets/js/pages/ActivityLogPage/ActivityLogPage.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/js/pages/ActivityLogPage/ActivityLogPage.jsx b/assets/js/pages/ActivityLogPage/ActivityLogPage.jsx index b76288ecb3..9e6114d9c9 100644 --- a/assets/js/pages/ActivityLogPage/ActivityLogPage.jsx +++ b/assets/js/pages/ActivityLogPage/ActivityLogPage.jsx @@ -104,11 +104,7 @@ function ActivityLogPage() { filters={filters} autoApply={false} value={searchParamsToFilterValue(searchParams)} - onChange={pipe( - setFilterValueToSearchParams, - resetPaginationToSearchParams(itemsPerPage), - setSearchParams - )} + onChange={pipe(setFilterValueToSearchParams, setSearchParams)} />