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

restore comment [skip ci]

as-opc888e62d75e1
diff --git a/modules/reporting/app/controllers/cost_reports_controller.rb b/modules/reporting/app/controllers/cost_reports_controller.rb
index c9ba8c79ad5..57cce384b57 100644
--- a/modules/reporting/app/controllers/cost_reports_controller.rb
+++ b/modules/reporting/app/controllers/cost_reports_controller.rb
@@ -174,7 +174,7 @@ class CostReportsController < ApplicationController
# Update a record with new query parameters and save it. Redirects to the
# specified record or renders the updated table on XHR
def update
- if set_filter? # apply
+ if set_filter? # save
old_query = @query
prepare_query
if old_query