From 737f88988d0712df3cedde5b0e117810e5c5c3cf Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 16 Aug 2021 22:48:22 +0200 Subject: [PATCH] typo --- app/scodoc/sco_undo_notes.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/scodoc/sco_undo_notes.py b/app/scodoc/sco_undo_notes.py index e8a52deb..427be690 100644 --- a/app/scodoc/sco_undo_notes.py +++ b/app/scodoc/sco_undo_notes.py @@ -178,14 +178,14 @@ def formsemestre_list_saisies_notes( """ sem = sco_formsemestre.get_formsemestre(context, formsemestre_id) r = ndb.SimpleDictFetch( - """SELECT i.nom, n.*, mod.titre, e.description, e.jour - FROM notes_notes n, notes_evaluation e, notes_moduleimpl mi, + """SELECT i.nom, n.*, mod.titre, e.description, e.jour + FROM notes_notes n, notes_evaluation e, notes_moduleimpl mi, notes_modules mod, identite i WHERE mi.id = e.moduleimpl_id - and m.module_id = mod.id - and e.id=n.evaluation_id - and i.etudid=n.etudid - and mi.formsemestre_id=%(formsemestre_id)s + and mi.module_id = mod.id + and e.id = n.evaluation_id + and i.id = n.etudid + and mi.formsemestre_id = %(formsemestre_id)s ORDER BY date desc """, {"formsemestre_id": formsemestre_id},