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

Remove unneeded set_sorting method

Klaus Zanders3ec66bfda17d
diff --git a/modules/meeting/app/controllers/meetings_controller.rb b/modules/meeting/app/controllers/meetings_controller.rb
index 4a785c74bb7..e19d75008cd 100644
--- a/modules/meeting/app/controllers/meetings_controller.rb
+++ b/modules/meeting/app/controllers/meetings_controller.rb
@@ -132,10 +132,6 @@ class MeetingsController < ApplicationController
.paginate(page: page_param, per_page: per_page_param)
end
- def set_sorting(query)
- query.orders.select(&:valid?).map { |o| [o.attribute.to_s, o.direction.to_s] }
- end
-
def set_time_zone(&)
zone = User.current.time_zone
if zone.nil?