Skip to content

Commit

Permalink
AB#965 Update report search results if pageSize changes
Browse files Browse the repository at this point in the history
Fixes commit b2f3e21
  • Loading branch information
gjvoosten committed Jul 11, 2024
1 parent ca24bec commit 8415917
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/pages/searches/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,10 +1158,11 @@ const Search = ({
const reportsSearchQueryParams = useMemo(
() => ({
...searchQueryParams,
pageSize,
sortBy: "ENGAGEMENT_DATE",
sortOrder: "DESC"
}),
[searchQueryParams]
[searchQueryParams, pageSize]
)
const exportMaxResults = currentUser?.authorizationGroups
?.map(ag => ag.uuid)
Expand Down

0 comments on commit 8415917

Please sign in to comment.