From 02264c3fbbd5e5510b03e4b38f0b4fe9e89ec6b4 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 12 Feb 2022 15:04:01 +0100 Subject: [PATCH] ordre dans css --- app/views/scodoc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/scodoc.py b/app/views/scodoc.py index b3ed1aa1e..8c9051b9a 100644 --- a/app/views/scodoc.py +++ b/app/views/scodoc.py @@ -367,7 +367,9 @@ def get_logo(name: str, dept_id: int): @bp.route("/ScoDoc/ue_colors_css//") def ue_colors_css(formation_id: int, semestre_idx: int): """Feuille de style pour les couleurs d'UE""" - ues = UniteEns.query.filter_by(formation_id=formation_id, semestre_idx=semestre_idx) + ues = UniteEns.query.filter_by( + formation_id=formation_id, semestre_idx=semestre_idx + ).order_by(UniteEns.numero) txt = ( ":root{\n" + "\n".join(