Merge pull request 'fix_group_selector' (#134) from jmplace/ScoDoc-Lille:fix_group_selector into master

Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/134
This commit is contained in:
Emmanuel Viennet 2021-09-23 23:51:11 +02:00
commit fede1ae7af

View File

@ -306,7 +306,7 @@ class DisplayedGroupsInfos(object):
if group_ids: if group_ids:
group_ids = [group_ids] # cas ou un seul parametre, pas de liste group_ids = [group_ids] # cas ou un seul parametre, pas de liste
else: else:
group_ids = [] group_ids = [int(g) for g in group_ids]
if not formsemestre_id and moduleimpl_id: if not formsemestre_id and moduleimpl_id:
mods = sco_moduleimpl.do_moduleimpl_list(moduleimpl_id=moduleimpl_id) mods = sco_moduleimpl.do_moduleimpl_list(moduleimpl_id=moduleimpl_id)
if len(mods) != 1: if len(mods) != 1: