From 57a79aecd69fa840ff7468aa7dbebffe1bd0d512 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sun, 17 Jul 2016 12:55:59 +0000 Subject: [PATCH] Show only 'session' and 'other' type meetings on the materials page, especially do not show leadership meetings. - Legacy-Id: 11695 --- ietf/meeting/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/meeting/views.py b/ietf/meeting/views.py index c2c92ab09..8e8554fc4 100644 --- a/ietf/meeting/views.py +++ b/ietf/meeting/views.py @@ -101,7 +101,7 @@ def materials(request, num=None): plenaries = sessions.filter(name__icontains='plenary') ietf = sessions.filter(group__parent__type__slug = 'area').exclude(group__acronym='edu') irtf = sessions.filter(group__parent__acronym = 'irtf') - training = sessions.filter(group__acronym__in=['edu','iaoc']) + training = sessions.filter(group__acronym__in=['edu','iaoc'], type_id__in=['session', 'other', ]) iab = sessions.filter(group__parent__acronym = 'iab') cache_version = Document.objects.filter(session__meeting__number=meeting.number).aggregate(Max('time'))["time__max"]