Skip to content

Commit 579cb3e

Browse files
committed
Updated the filtering for non-wg and wg mailing list pages.
- Legacy-Id: 15163
1 parent 6307e1c commit 579cb3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/mailinglists/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
from ietf.mailinglists.models import List
1212

1313
def groups(request):
14-
groups = Group.objects.filter(type__in=("wg", "rg", "ag"), list_archive__startswith='http').order_by("acronym")
14+
groups = Group.objects.filter(type__in=("wg", "rg", "ag"), list_archive__startswith='http').exclude(state__in=('bof', 'conclude')).order_by("acronym")
1515

1616
return render(request, "mailinglists/group_archives.html", { "groups": groups } )
1717

1818
# we run the import_mailman_listinfo command via cron once per hour; we can
1919
# safely cache this for some time.
2020
@cache_page(15*60)
2121
def nonwg(request):
22-
groups = Group.objects.filter(type__in=("wg", "rg")).exclude(state__in=['bof', 'active']).order_by("acronym")
22+
groups = Group.objects.filter(type__in=("wg", "rg")).exclude(state__in=['bof', 'conclude']).order_by("acronym")
2323

2424
#urls = [ g.list_archive for g in groups if '.ietf.org' in g.list_archive ]
2525

0 commit comments

Comments
 (0)