when scheduling, only show slots from sessions with slots of equal or longer duration than the event
This commit is contained in:
parent
1327c21e74
commit
de9eca07b2
|
@ -930,7 +930,8 @@ class EventScheduleView(CampViewMixin, ContentTeamPermissionMixin, FormView):
|
|||
slotindex = 0
|
||||
# loop over sessions, get free slots
|
||||
for session in self.camp.event_sessions.filter(
|
||||
event_type=self.event.event_type
|
||||
event_type=self.event.event_type,
|
||||
event_duration_minutes__gte=self.event.duration_minutes,
|
||||
):
|
||||
for slot in session.get_available_slots():
|
||||
# loop over speakers to see if they are all available
|
||||
|
|
Loading…
Reference in a new issue