From 74ad3d6433da4fe4fca8d0093d8908d7e155bb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Dr=C3=A9au?= Date: Wed, 18 Oct 2023 12:03:19 +0200 Subject: [PATCH] feat: suppression nature inconnue dans les indicateurs nationaux (#3293) --- .../common/actions/indicateurs/indicateurs-national.actions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/common/actions/indicateurs/indicateurs-national.actions.ts b/server/src/common/actions/indicateurs/indicateurs-national.actions.ts index e05cd0e40..e056eafd4 100644 --- a/server/src/common/actions/indicateurs/indicateurs-national.actions.ts +++ b/server/src/common/actions/indicateurs/indicateurs-national.actions.ts @@ -51,6 +51,9 @@ export async function getIndicateursOrganismesNature(filters: OrganismesFilters) { fiabilisation_statut: "FIABLE", ferme: false, + nature: { + $nin: ["inconnue", null], + }, }, ], },