Skip to content

Commit

Permalink
MIJN-9545-bug/Add filter and sort to parkeren list page (#1669)
Browse files Browse the repository at this point in the history
* Add filter and sort to parkeren list page

* Update src/client/pages/Parkeren/useParkerenData.hook.tsx

Co-authored-by: Tim van Oostrom <[email protected]>

* Update src/client/pages/Parkeren/useParkerenData.hook.tsx

Co-authored-by: Tim van Oostrom <[email protected]>

---------

Co-authored-by: Tim van Oostrom <[email protected]>
  • Loading branch information
OscarBakker and timvanoostrom authored Dec 17, 2024
1 parent 541eda0 commit 9c91f26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/pages/Parkeren/ParkerenList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export function ParkerenList() {

return (
<ListPagePaginated
items={parkeerVergunningenFromThemaVergunningen}
items={parkeerVergunningenFromThemaVergunningen
.filter(tableConfig[params.kind].filter)
.sort(tableConfig[params.kind].sort)}
backLinkTitle={ThemaTitles.PARKEREN}
title={title ?? ''}
appRoute={AppRoutes['PARKEREN/LIST']}
Expand Down

0 comments on commit 9c91f26

Please sign in to comment.