Restrict AKWall to dates belonging to the corresponding event
Compare changes
+ 6
− 2
@@ -60,8 +60,12 @@ class PlanScreenView(PlanIndexView):
@@ -60,8 +60,12 @@ class PlanScreenView(PlanIndexView):
# Determine interesting range (some hours ago until some hours in the future as specified in the settings)
self.start = datetime.now().astimezone(self.event.timezone) - timedelta(hours=settings.PLAN_WALL_HOURS_RETROSPECT)
self.end = self.start + timedelta(hours=(settings.PLAN_WALL_HOURS_RETROSPECT + settings.PLAN_WALL_HOURS_FUTURE))
# This will automatically filter all rooms not needed for the selected range in the orginal get_context method