Skip to content

Commit e4379f0

Browse files
committed
Fixed a bug in determining if the agenda page being rendered belongs to the current meeting (which affects caching time).
- Legacy-Id: 18319
1 parent 3bc0cb4 commit e4379f0

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
@@ -957,7 +957,7 @@ def agenda(request, num=None, name=None, base=None, ext=None, owner=None, utc=""
957957

958958
p.group_list.sort(key=lambda g: g.acronym)
959959

960-
is_current_meeting = bool(num == get_current_ietf_meeting_num())
960+
is_current_meeting = (num is None) or (num == get_current_ietf_meeting_num())
961961
rendered_page = render(request, "meeting/"+base+ext, {
962962
"schedule": schedule,
963963
"filtered_assignments": filtered_assignments,

0 commit comments

Comments
 (0)