diff --git a/app/scodoc/sco_edit_formation.py b/app/scodoc/sco_edit_formation.py index 6eb8628c..a609a841 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 ba6781c6..5a6b347b 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"], ) )