From cd7fd312b477db483dddd52ad57480785de1f73a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20PENHO=C3=8BT?= Date: Mon, 26 Oct 2020 18:31:39 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20liste=20des=20=C3=A9l=C3=A9ment?= =?UTF-8?q?s=20class=C3=A9s=20dans=20le=20groupe=20dans=20le=20formulaire?= =?UTF-8?q?=20de=20gestion=20des=20groupes=20de=20quizs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/group.js | 2 +- front/public/gestion-groups.html | 1 + front/public/gestion-quizs.html | 2 +- front/src/manageGroups.js | 17 +++++++++++++++-- front/src/manageQuestionnaires.js | 5 +++-- lang/fr/group.js | 2 ++ 6 files changed, 23 insertions(+), 6 deletions(-) diff --git a/controllers/group.js b/controllers/group.js index c2f19f5..2f75e21 100644 --- a/controllers/group.js +++ b/controllers/group.js @@ -144,7 +144,7 @@ exports.getOneById = async (req, res, next) => { try { - const datas=await searchGroupById(req.params.id); + const datas=await searchGroupById(req.params.id, true); if(datas) res.status(200).json(datas); else diff --git a/front/public/gestion-groups.html b/front/public/gestion-groups.html index 878965c..da61291 100644 --- a/front/public/gestion-groups.html +++ b/front/public/gestion-groups.html @@ -66,6 +66,7 @@
+