From 73095739b6c8bc7954fb292eae1600808105ee00 Mon Sep 17 00:00:00 2001 From: ledouxm Date: Mon, 30 Sep 2024 13:26:15 +0200 Subject: [PATCH] feat: add "city" and "zipcode" within the search params --- packages/frontend/src/components/ReportSearch.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/src/components/ReportSearch.tsx b/packages/frontend/src/components/ReportSearch.tsx index 5ce8432e..5846c97a 100644 --- a/packages/frontend/src/components/ReportSearch.tsx +++ b/packages/frontend/src/components/ReportSearch.tsx @@ -48,6 +48,8 @@ const useSearchResultsQuery = (search: string, additionnalWhere: { [key: string] isNullOrContains("redactedBy", search), isNullOrContains("applicantName", search), isNullOrContains("applicantAddress", search), + isNullOrContains("city", search), + isNullOrContains("zipCode", search), ], disabled: false, ...additionnalWhere,