Merged in [9309] from tjw.ietf@gmail.com:

Fixed #845. Commit read for merge.
 - Legacy-Id: 9318
Note: SVN reference [9309] has been migrated to Git commit 817547cc91
This commit is contained in:
Henrik Levkowetz 2015-03-21 22:42:52 +00:00
commit bc9cbb97d0

View file

@ -25,7 +25,7 @@ class CommunityListNode(template.Node):
managed_areas = [i.group for i in Role.objects.filter(name__slug='ad', email__in=person.email_set.all())]
for area in managed_areas:
groups.append(CommunityList.objects.get_or_create(group=area)[0])
managed_wg = [i.group for i in Role.objects.filter(name__slug='chair', group__type__slug='wg', email__in=person.email_set.all())]
managed_wg = [i.group for i in Role.objects.filter(name__slug='chair', group__type__slug='wg', group__state_id__slug__in=("active", "bof", "proposed", "replaced"), email__in=person.email_set.all())]
for wg in managed_wg:
groups.append(CommunityList.objects.get_or_create(group=wg)[0])
lists['group'] = groups