Fix: req inscriptions aux modules (bug VG)

This commit is contained in:
Emmanuel Viennet 2021-08-21 23:01:20 +02:00
parent de88f4d9f8
commit 784867d51e

View File

@ -511,7 +511,7 @@ def is_inscrit_ue(etudid, formsemestre_id, ue_id):
"""SELECT mod.id AS module_id, mod.*
FROM notes_moduleimpl mi, notes_modules mod,
notes_formsemestre sem, notes_moduleimpl_inscription i
WHERE sem.formsemestre_id = %(formsemestre_id)s
WHERE sem.id = %(formsemestre_id)s
AND mi.formsemestre_id = sem.id
AND mod.id = mi.module_id
AND mod.ue_id = %(ue_id)s