Skip to content

Commit 66bbc97

Browse files
committed
Normalized the new filter expression to limit the wg state in the wg selection in community_tags.py
- Legacy-Id: 9320
1 parent bc9cbb9 commit 66bbc97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/community/templatetags/community_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def render(self, context):
2525
managed_areas = [i.group for i in Role.objects.filter(name__slug='ad', email__in=person.email_set.all())]
2626
for area in managed_areas:
2727
groups.append(CommunityList.objects.get_or_create(group=area)[0])
28-
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())]
28+
managed_wg = [i.group for i in Role.objects.filter(name__slug='chair', group__type__slug='wg', group__state__slug__in=("active", "bof", "proposed", "replaced"), email__in=person.email_set.all())]
2929
for wg in managed_wg:
3030
groups.append(CommunityList.objects.get_or_create(group=wg)[0])
3131
lists['group'] = groups

0 commit comments

Comments
 (0)