diff --git a/app/views/scodoc.py b/app/views/scodoc.py index 47c51b6bef..138da8f6d5 100644 --- a/app/views/scodoc.py +++ b/app/views/scodoc.py @@ -47,7 +47,9 @@ from app.views import scodoc_bp as bp @bp.route("/ScoDoc/index") def index(): "Page d'accueil: liste des départements" - depts = Departement.query.filter_by(visible=True).all() + depts = ( + Departement.query.filter_by(visible=True).order_by(Departement.acronym).all() + ) return render_template( "scodoc.html", title=sco_version.SCONAME,