From e4b6176e691ae147c6ae6bca3d72d38508887d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Wed, 27 Nov 2024 09:30:56 +0100 Subject: [PATCH 1/2] adds more filters to projects map endpoint --- client/src/containers/overview/map/layers/projects/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/containers/overview/map/layers/projects/index.tsx b/client/src/containers/overview/map/layers/projects/index.tsx index d82dde85..a6960ade 100644 --- a/client/src/containers/overview/map/layers/projects/index.tsx +++ b/client/src/containers/overview/map/layers/projects/index.tsx @@ -25,6 +25,9 @@ export default function ProjectsLayer() { ...(filters.countryCode && { countryCode: [filters.countryCode] }), ecosystem: filters.ecosystem, activity: filters.activity, + restorationActivity: filters.restorationActivity, + projectSizeFilter: filters.projectSizeFilter, + priceType: filters.priceType, }, costRange: filters.costRange, abatementPotentialRange: filters.abatementPotentialRange, From 34b718eaf906c1328199441c5aac68e149e1ef18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Thu, 5 Dec 2024 16:37:34 +0100 Subject: [PATCH 2/2] applies correct query param to filter projects by name --- client/src/containers/overview/table/view/overview/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/containers/overview/table/view/overview/index.tsx b/client/src/containers/overview/table/view/overview/index.tsx index fd009c77..80cda088 100644 --- a/client/src/containers/overview/table/view/overview/index.tsx +++ b/client/src/containers/overview/table/view/overview/index.tsx @@ -86,6 +86,7 @@ export function OverviewTable() { costRangeSelector: filters.costRangeSelector, pageNumber: pagination.pageIndex + 1, pageSize: pagination.pageSize, + partialProjectName: filters.keyword, }, }, {