diff --git a/app/views/assiduites.py b/app/views/assiduites.py index 46c47663e..646ca73c2 100644 --- a/app/views/assiduites.py +++ b/app/views/assiduites.py @@ -257,7 +257,7 @@ def ajout_assiduite_etud() -> str | Response: moduleimpl_id: int | None = request.args.get("moduleimpl_id", "") redirect_url: str = ( - "#" + request.url if not saisie_eval else url_for( "notes.evaluation_check_absences_html", @@ -292,6 +292,7 @@ def ajout_assiduite_etud() -> str | Response: ok = _record_assiduite_etud(etud, form, formsemestre=formsemestre) if ok: flash("enregistré") + log(f"redirect_url={redirect_url}") return redirect(redirect_url) force_options = {"show_pres": True, "show_reta": True}