From 01d59b45dc221c167531d7f1943ef2e6a82e57d0 Mon Sep 17 00:00:00 2001 From: Nicolas KREMER Date: Tue, 8 Oct 2024 15:40:25 +0200 Subject: [PATCH] fix: ajout ine liste nominative Affelnet --- server/src/common/actions/affelnet.actions.ts | 1 + server/src/http/routes/specific.routes/affelnet.routes.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/server/src/common/actions/affelnet.actions.ts b/server/src/common/actions/affelnet.actions.ts index 5744a396f..fc99e2ac1 100644 --- a/server/src/common/actions/affelnet.actions.ts +++ b/server/src/common/actions/affelnet.actions.ts @@ -159,6 +159,7 @@ const AFFELNET_VOEUX_AGGREGATION = [ { $project: { _id: "$_id", + ine: "$apprenant.raw.ine", nom: "$apprenant.raw.nom", prenom_1: "$apprenant.raw.prenom_1", prenom_2: "$apprenant.raw.prenom_2", diff --git a/server/src/http/routes/specific.routes/affelnet.routes.ts b/server/src/http/routes/specific.routes/affelnet.routes.ts index 2d275ccbb..b2aebc9a5 100644 --- a/server/src/http/routes/specific.routes/affelnet.routes.ts +++ b/server/src/http/routes/specific.routes/affelnet.routes.ts @@ -17,6 +17,7 @@ import { requireOrganismeRegional, returnResult } from "@/http/middlewares/helpe import validateRequestMiddleware from "@/http/middlewares/validateRequestMiddleware"; const AFFELNET_FIELDS = [ + { label: "INE", value: "ine" }, { label: "Nom", value: "nom" }, { label: "Prenom 1", value: "prenom_1" }, { label: "Prenom 2", value: "prenom_2" },