From 31bd6962a1363228d923b9ae4460d8ce35eb0794 Mon Sep 17 00:00:00 2001 From: "Paul G." Date: Tue, 28 Jan 2025 11:53:40 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20filtrer=20uniquement=20sur=20les=20adres?= =?UTF-8?q?ses=20retrouv=C3=A9es=20(#4023)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/common/actions/mission-locale/mission-locale.actions.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/common/actions/mission-locale/mission-locale.actions.ts b/server/src/common/actions/mission-locale/mission-locale.actions.ts index 2dac932eb..646305cfc 100644 --- a/server/src/common/actions/mission-locale/mission-locale.actions.ts +++ b/server/src/common/actions/mission-locale/mission-locale.actions.ts @@ -192,6 +192,8 @@ export const getPaginatedEffectifsByMissionLocaleId = async ( { $match: { "apprenant.adresse.code_insee": { $exists: true }, + "apprenant.adresse.code_postal": { $exists: true }, + "apprenant.adresse.commune": { $exists: true }, }, }, {