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

highlight correct menu item for cost reports

ulfertsb5d8de382a64
diff --git a/modules/reporting/app/controllers/cost_reports_controller.rb b/modules/reporting/app/controllers/cost_reports_controller.rb
index 778731e9ac6..7843fa563c3 100644
--- a/modules/reporting/app/controllers/cost_reports_controller.rb
+++ b/modules/reporting/app/controllers/cost_reports_controller.rb
@@ -97,7 +97,7 @@ class CostReportsController < ApplicationController
end
def menu_item_to_highlight_on_index
- @project ? :cost_reports : :cost_reports_global
+ @project ? :costs : :cost_reports_global
end
def drill_down