Skip to content

Commit 5ea3051

Browse files
committed
Add explanation to filter on regular sessions
- Legacy-Id: 18380
1 parent 996fc71 commit 5ea3051

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ietf/meeting/views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,13 @@ def redirect_with_scroll():
10351035
for r in rooms:
10361036
ts = []
10371037
for t in timeslots_by_day_and_room.get((d, r.pk), []):
1038+
# FIXME: the database (as of 2020) contains spurious
1039+
# regular time slots in rooms not intended for regular
1040+
# sessions - once those are gone, this filter can go
1041+
# away
10381042
if t.type_id == 'regular' and not any(t.slug == 'regular' for t in r.session_types.all()):
10391043
continue
1044+
10401045
t.assigned_sessions = []
10411046
for a in assignments_by_timeslot.get(t.pk, []):
10421047
s = sessions_by_pk.get(a.session_id)

0 commit comments

Comments
 (0)