From 9a302b63dc1fa56caf8603883e23b70f2c3a7716 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 14 Nov 2012 11:32:33 +0000 Subject: [PATCH] Limit the 1wg-summary list and friends to WGs, (excluding the 'iesg' area which lists the areas as subgroups, for instance). - Legacy-Id: 5063 --- ietf/wginfo/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ietf/wginfo/views.py b/ietf/wginfo/views.py index f4eb302e9..7822e018b 100644 --- a/ietf/wginfo/views.py +++ b/ietf/wginfo/views.py @@ -75,18 +75,18 @@ def wg_summary_acronym(request): return HttpResponse(loader.render_to_string('wginfo/1wg-summary-by-acronym.txt', {'area_list': areas, 'wg_list': wgs}),mimetype='text/plain; charset=UTF-8') def wg_summary_area(request): - wgs = IETFWG.objects.filter(status='1',start_date__isnull=False) + wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False) return HttpResponse(loader.render_to_string('wginfo/1wg-summary.txt', {'wg_list': wgs}),mimetype='text/plain; charset=UTF-8') def wg_charters(request): - wgs = IETFWG.objects.filter(status='1',start_date__isnull=False) + wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False) if settings.USE_DB_REDESIGN_PROXY_CLASSES: for wg in wgs: fill_in_charter_info(wg, include_drafts=True) return HttpResponse(loader.render_to_string('wginfo/1wg-charters.txt', {'wg_list': wgs, 'USE_DB_REDESIGN_PROXY_CLASSES': settings.USE_DB_REDESIGN_PROXY_CLASSES}),mimetype='text/plain; charset=UTF-8') def wg_charters_by_acronym(request): - wgs = IETFWG.objects.filter(status='1',start_date__isnull=False) + wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False) if settings.USE_DB_REDESIGN_PROXY_CLASSES: for wg in wgs: fill_in_charter_info(wg, include_drafts=True)