Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Ensure we have a default direction

Oliver Günther35d65d0128a7
diff --git a/modules/meeting/app/controllers/recurring_meetings_controller.rb b/modules/meeting/app/controllers/recurring_meetings_controller.rb
index 5d32f654607..d23b884e76f 100644
--- a/modules/meeting/app/controllers/recurring_meetings_controller.rb
+++ b/modules/meeting/app/controllers/recurring_meetings_controller.rb
@@ -281,7 +281,7 @@ class RecurringMeetingsController < ApplicationController
end
def set_direction
- @direction = params[:direction]
+ @direction = params.fetch(:direction, "upcoming")
end
def build_meeting_limits