From 1c719b5c7ce87cab6cc124ec2b59086e2d4a9211 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 3 Nov 2021 00:27:50 +0100 Subject: [PATCH] Fix regression: groups_view argument --- app/views/scolar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/scolar.py b/app/views/scolar.py index a3a9130322..79e9d1986c 100644 --- a/app/views/scolar.py +++ b/app/views/scolar.py @@ -306,6 +306,7 @@ sco_publish( @bp.route("/groups_view") @scodoc @permission_required_compat_scodoc7(Permission.ScoView) +# @permission_required(Permission.ScoView) @scodoc7func def groups_view( group_ids=(), @@ -319,7 +320,7 @@ def groups_view( formsemestre_id=None, ): return sco_groups_view.groups_view( - group_ids=(), + group_ids=group_ids, format=format, # Options pour listes: with_codes=with_codes,