forked from ScoDoc/DocScoDoc
API: /formsemestre/<int:formsemestre_id>/etudiants ne montre plus la partition par defaut.
This commit is contained in:
parent
9d50a88f2c
commit
920de2c2f1
@ -294,7 +294,9 @@ def formsemestre_etudiants(formsemestre_id: int, with_query: bool = False):
|
||||
# Ajout des groupes de chaque étudiants
|
||||
# XXX A REVOIR: trop inefficace !
|
||||
for etud in etuds:
|
||||
etud["groups"] = sco_groups.get_etud_groups(etud["id"], formsemestre_id)
|
||||
etud["groups"] = sco_groups.get_etud_groups(
|
||||
etud["id"], formsemestre_id, exclude_default=True
|
||||
)
|
||||
|
||||
return jsonify(etuds)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user