This commit is contained in:
Emmanuel Viennet 2021-08-16 22:48:22 +02:00
parent c40c806c63
commit 737f88988d

View File

@ -178,14 +178,14 @@ def formsemestre_list_saisies_notes(
""" """
sem = sco_formsemestre.get_formsemestre(context, formsemestre_id) sem = sco_formsemestre.get_formsemestre(context, formsemestre_id)
r = ndb.SimpleDictFetch( r = ndb.SimpleDictFetch(
"""SELECT i.nom, n.*, mod.titre, e.description, e.jour """SELECT i.nom, n.*, mod.titre, e.description, e.jour
FROM notes_notes n, notes_evaluation e, notes_moduleimpl mi, FROM notes_notes n, notes_evaluation e, notes_moduleimpl mi,
notes_modules mod, identite i notes_modules mod, identite i
WHERE mi.id = e.moduleimpl_id WHERE mi.id = e.moduleimpl_id
and m.module_id = mod.id and mi.module_id = mod.id
and e.id=n.evaluation_id and e.id = n.evaluation_id
and i.etudid=n.etudid and i.id = n.etudid
and mi.formsemestre_id=%(formsemestre_id)s and mi.formsemestre_id = %(formsemestre_id)s
ORDER BY date desc ORDER BY date desc
""", """,
{"formsemestre_id": formsemestre_id}, {"formsemestre_id": formsemestre_id},