From 8ecd1d1112b01c7964c5f9e48603a2210a7c4672 Mon Sep 17 00:00:00 2001 From: Anselme Chorein Date: Thu, 10 Oct 2024 17:05:06 +0200 Subject: [PATCH] fix(api): 3528 - suppression du filtre sur les PDR lors de l'affectation manuel d'un jeune (#4436) Co-authored-by: C2Chandelier --- .../pointDeRassemblement/pointDeRassemblementController.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/src/planDeTransport/pointDeRassemblement/pointDeRassemblementController.ts b/api/src/planDeTransport/pointDeRassemblement/pointDeRassemblementController.ts index aec15199ff..248ae9d85b 100644 --- a/api/src/planDeTransport/pointDeRassemblement/pointDeRassemblementController.ts +++ b/api/src/planDeTransport/pointDeRassemblement/pointDeRassemblementController.ts @@ -441,7 +441,6 @@ router.get("/ligneToPoint/:cohort/:centerId", passport.authenticate("referent", const meetingPoints = await PointDeRassemblementModel.find({ _id: { $in: meetingPointIds }, $or: [{ name: { $regex: regex } }, { city: { $regex: regex } }, { department: { $regex: regex } }, { region: { $regex: regex } }], - deletedAt: { $exists: false }, }); //build final Array since client wait for ligneToPoint + meetingPoint + ligneBus