Skip to content

Commit 57a79ae

Browse files
committed
Show only 'session' and 'other' type meetings on the materials page, especially do not show leadership meetings.
- Legacy-Id: 11695
1 parent 5f1f066 commit 57a79ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def materials(request, num=None):
101101
plenaries = sessions.filter(name__icontains='plenary')
102102
ietf = sessions.filter(group__parent__type__slug = 'area').exclude(group__acronym='edu')
103103
irtf = sessions.filter(group__parent__acronym = 'irtf')
104-
training = sessions.filter(group__acronym__in=['edu','iaoc'])
104+
training = sessions.filter(group__acronym__in=['edu','iaoc'], type_id__in=['session', 'other', ])
105105
iab = sessions.filter(group__parent__acronym = 'iab')
106106

107107
cache_version = Document.objects.filter(session__meeting__number=meeting.number).aggregate(Max('time'))["time__max"]

0 commit comments

Comments
 (0)