Skip to content

Commit 42c75a6

Browse files
committed
Provided the new session attribute 'order_number' to the template also from meeting.views.session_details().
- Legacy-Id: 18197
1 parent bde289a commit 42c75a6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/meeting/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,8 @@ def session_details(request, num, acronym):
15941594
qs = [p for p in qs if p.document.get_state_slug(p.document.type_id)!='deleted']
15951595
session.type_counter.update([p.document.type.slug for p in qs])
15961596

1597+
session.order_number = session.order_in_meeting()
1598+
15971599
# we somewhat arbitrarily use the group of the last session we get from
15981600
# get_sessions() above when checking can_manage_session_materials()
15991601
can_manage = can_manage_session_materials(request.user, session.group, session)

0 commit comments

Comments
 (0)