forked from ScoDoc/DocScoDoc
redirige les url /ScoDoc/DEPT vers /ScoDoc/DEPT/Scolarite
This commit is contained in:
parent
54f0b87d39
commit
79b8520034
@ -374,7 +374,7 @@ def _make_table_notes(
|
|||||||
columns_ids.append(e["evaluation_id"])
|
columns_ids.append(e["evaluation_id"])
|
||||||
#
|
#
|
||||||
if anonymous_listing:
|
if anonymous_listing:
|
||||||
rows.sort(key=lambda x: x["code"])
|
rows.sort(key=lambda x: x["code"] or "")
|
||||||
else:
|
else:
|
||||||
rows.sort(
|
rows.sort(
|
||||||
key=lambda x: (x["nom"] or "", x["prenom"] or "")
|
key=lambda x: (x["nom"] or "", x["prenom"] or "")
|
||||||
|
@ -82,6 +82,12 @@ def index():
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# Renvoie les url /ScoDoc/RT/ vers /ScoDoc/RT/Scolarite
|
||||||
|
@bp.route("/ScoDoc/<scodoc_dept>/")
|
||||||
|
def index_dept(scodoc_dept):
|
||||||
|
return redirect(url_for("scolar.index_html", scodoc_dept=scodoc_dept))
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/ScoDoc/table_etud_in_accessible_depts", methods=["POST"])
|
@bp.route("/ScoDoc/table_etud_in_accessible_depts", methods=["POST"])
|
||||||
@login_required
|
@login_required
|
||||||
def table_etud_in_accessible_depts():
|
def table_etud_in_accessible_depts():
|
||||||
|
Loading…
Reference in New Issue
Block a user