Skip to content

Commit e9980b4

Browse files
committed
Made the timeslots sent to the agenda.ics template distinct, to avoid
duplicate agenda items. Fixes issue ietf-tools#1155. - Legacy-Id: 6462
1 parent ee1ae83 commit e9980b4

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
@@ -664,7 +664,7 @@ def ical_agenda(request, num=None, name=None):
664664
Q(type__name__in = include_types) |
665665
Q(sessions__group__acronym__in = filter) |
666666
Q(sessions__group__parent__acronym__in = filter)
667-
).exclude(Q(sessions__group__acronym__in = exclude))
667+
).exclude(Q(sessions__group__acronym__in = exclude)).distinct()
668668
#.exclude(Q(session__group__isnull = False),
669669
#Q(session__group__acronym__in = exclude) |
670670
#Q(session__group__parent__acronym__in = exclude))

0 commit comments

Comments
 (0)