Skip to content

Commit 9a302b6

Browse files
committed
Limit the 1wg-summary list and friends to WGs, (excluding the 'iesg' area which lists the areas as subgroups, for instance).
- Legacy-Id: 5063
1 parent 7e226be commit 9a302b6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/wginfo/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@ def wg_summary_acronym(request):
7575
return HttpResponse(loader.render_to_string('wginfo/1wg-summary-by-acronym.txt', {'area_list': areas, 'wg_list': wgs}),mimetype='text/plain; charset=UTF-8')
7676

7777
def wg_summary_area(request):
78-
wgs = IETFWG.objects.filter(status='1',start_date__isnull=False)
78+
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False)
7979
return HttpResponse(loader.render_to_string('wginfo/1wg-summary.txt', {'wg_list': wgs}),mimetype='text/plain; charset=UTF-8')
8080

8181
def wg_charters(request):
82-
wgs = IETFWG.objects.filter(status='1',start_date__isnull=False)
82+
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False)
8383
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
8484
for wg in wgs:
8585
fill_in_charter_info(wg, include_drafts=True)
8686
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')
8787

8888
def wg_charters_by_acronym(request):
89-
wgs = IETFWG.objects.filter(status='1',start_date__isnull=False)
89+
wgs = IETFWG.objects.filter(status='1',group_type='1',start_date__isnull=False)
9090
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
9191
for wg in wgs:
9292
fill_in_charter_info(wg, include_drafts=True)

0 commit comments

Comments
 (0)