Fix regression in API/formsemestre_etudiants

This commit is contained in:
Emmanuel Viennet 2022-12-07 13:21:24 +01:00 committed by iziram
parent 51b0ca088c
commit ba5b5cdb6f
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ def formsemestre_etudiants(
# XXX A REVOIR: trop inefficace ! # XXX A REVOIR: trop inefficace !
for etud in etuds: for etud in etuds:
etud["groups"] = sco_groups.get_etud_groups( etud["groups"] = sco_groups.get_etud_groups(
etud["etudid"], formsemestre_id, exclude_default=True etud["id"], formsemestre_id, exclude_default=True
) )
return jsonify(sorted(etuds, key=lambda e: e["sort_key"])) return jsonify(sorted(etuds, key=lambda e: e["sort_key"]))

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.4.10" SCOVERSION = "9.4.11"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"