From 28f266fac69df174c49ed933b30929c56f5cb5bd Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 12 Dec 2021 23:03:36 +0100 Subject: [PATCH] =?UTF-8?q?navigation=20=C3=A9dition=20formation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_edit_formation.py | 1 + app/scodoc/sco_edit_ue.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/scodoc/sco_edit_formation.py b/app/scodoc/sco_edit_formation.py index 6eb8628c0..a609a8418 100644 --- a/app/scodoc/sco_edit_formation.py +++ b/app/scodoc/sco_edit_formation.py @@ -399,5 +399,6 @@ def ue_move(ue_id, after=0, redirect=1): "notes.ue_table", scodoc_dept=g.scodoc_dept, formation_id=o["formation_id"], + semestre_idx=o["semestre_idx"], ) ) diff --git a/app/scodoc/sco_edit_ue.py b/app/scodoc/sco_edit_ue.py index ba6781c62..5a6b347b6 100644 --- a/app/scodoc/sco_edit_ue.py +++ b/app/scodoc/sco_edit_ue.py @@ -381,7 +381,10 @@ def ue_edit(ue_id=None, create=False, formation_id=None): do_ue_edit(tf[2]) return flask.redirect( url_for( - "notes.ue_table", scodoc_dept=g.scodoc_dept, formation_id=formation_id + "notes.ue_table", + scodoc_dept=g.scodoc_dept, + formation_id=formation_id, + semestre_idx=tf[2]["semestre_idx"], ) )