forked from ScoDoc/ScoDoc
Fix: nb d'UE à valider pour formations APC sans inscriptions aux parcours
This commit is contained in:
parent
b7e6b9400f
commit
462fbc802a
@ -288,7 +288,7 @@ class ResultatsSemestreBUT(NotesTableCompat):
|
|||||||
if ref_comp is None:
|
if ref_comp is None:
|
||||||
return set()
|
return set()
|
||||||
if parcour_id is None:
|
if parcour_id is None:
|
||||||
ues_ids = {ue.id for ue in self.ues}
|
ues_ids = {ue.id for ue in self.ues if ue.type != UE_SPORT}
|
||||||
else:
|
else:
|
||||||
parcour: ApcParcours = ApcParcours.query.get(parcour_id)
|
parcour: ApcParcours = ApcParcours.query.get(parcour_id)
|
||||||
annee = (self.formsemestre.semestre_id + 1) // 2
|
annee = (self.formsemestre.semestre_id + 1) // 2
|
||||||
|
Loading…
Reference in New Issue
Block a user