forked from ScoDoc/ScoDoc
Fix: ordre des étudiants
This commit is contained in:
parent
87bcfc801a
commit
b709b9c2f1
@ -137,6 +137,7 @@ def df_load_modimpl_notes(moduleimpl_id: int) -> tuple:
|
|||||||
WHERE evaluation_id=%(evaluation_id)s
|
WHERE evaluation_id=%(evaluation_id)s
|
||||||
AND n.etudid = i.etudid
|
AND n.etudid = i.etudid
|
||||||
AND i.moduleimpl_id = %(moduleimpl_id)s
|
AND i.moduleimpl_id = %(moduleimpl_id)s
|
||||||
|
ORDER BY n.etudid
|
||||||
""",
|
""",
|
||||||
db.engine,
|
db.engine,
|
||||||
params={
|
params={
|
||||||
|
@ -407,7 +407,11 @@ class FormsemestreInscription(db.Model):
|
|||||||
)
|
)
|
||||||
formsemestre = db.relationship(
|
formsemestre = db.relationship(
|
||||||
FormSemestre,
|
FormSemestre,
|
||||||
backref=db.backref("inscriptions", cascade="all, delete-orphan"),
|
backref=db.backref(
|
||||||
|
"inscriptions",
|
||||||
|
cascade="all, delete-orphan",
|
||||||
|
order_by="FormsemestreInscription.etudid",
|
||||||
|
),
|
||||||
)
|
)
|
||||||
# I inscrit, D demission en cours de semestre, DEF si "defaillant"
|
# I inscrit, D demission en cours de semestre, DEF si "defaillant"
|
||||||
etat = db.Column(db.String(CODE_STR_LEN), index=True)
|
etat = db.Column(db.String(CODE_STR_LEN), index=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user