Skip to content

Commit

Permalink
[ui] Reset pagination page number whenever any search filter change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalu committed Apr 11, 2024
1 parent 8c4f3eb commit 198d03e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/app/search/search-filter-reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export function searchFilterReducer(
...state,
queries: { ...state.queries, [name]: query },
values: { ...state.values, [name]: values },
pagination: { ...state.pagination, pageNumber: 1 },
};
}
case "reset_all":
Expand Down

0 comments on commit 198d03e

Please sign in to comment.