Fixed a bug in determining if the agenda page being rendered belongs to the current meeting (which affects caching time).
- Legacy-Id: 18319
This commit is contained in:
parent
3bc0cb4c35
commit
e4379f02ad
|
@ -957,7 +957,7 @@ def agenda(request, num=None, name=None, base=None, ext=None, owner=None, utc=""
|
|||
|
||||
p.group_list.sort(key=lambda g: g.acronym)
|
||||
|
||||
is_current_meeting = bool(num == get_current_ietf_meeting_num())
|
||||
is_current_meeting = (num is None) or (num == get_current_ietf_meeting_num())
|
||||
rendered_page = render(request, "meeting/"+base+ext, {
|
||||
"schedule": schedule,
|
||||
"filtered_assignments": filtered_assignments,
|
||||
|
|
Loading…
Reference in a new issue