forked from ScoDoc/ScoDoc
Fix regression in API/formsemestre_etudiants
This commit is contained in:
parent
51b0ca088c
commit
ba5b5cdb6f
@ -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"]))
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user