From ce4115eeef274e603c93cbc7e93a729a88db3ffb Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 12 Nov 2021 11:30:59 +0100 Subject: [PATCH] closes #178 (colonne NIP dans liste saisie notes) --- app/scodoc/sco_undo_notes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scodoc/sco_undo_notes.py b/app/scodoc/sco_undo_notes.py index 1f410c70..9a13d988 100644 --- a/app/scodoc/sco_undo_notes.py +++ b/app/scodoc/sco_undo_notes.py @@ -178,7 +178,7 @@ def formsemestre_list_saisies_notes(formsemestre_id, format="html"): """ sem = sco_formsemestre.get_formsemestre(formsemestre_id) r = ndb.SimpleDictFetch( - """SELECT i.nom, n.*, mod.titre, e.description, e.jour + """SELECT i.nom, i.id as etudid, 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 @@ -192,6 +192,7 @@ def formsemestre_list_saisies_notes(formsemestre_id, format="html"): ) columns_ids = ( "date", + "code_nip", "nom", "value", "uid", @@ -201,6 +202,7 @@ def formsemestre_list_saisies_notes(formsemestre_id, format="html"): "comment", ) titles = { + "code_nip": "NIP", "nom": "Etudiant", "date": "Date", "value": "Note",