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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove remnants of debug_fields
Oliver Günther7eb9d1797ff6
diff --git a/modules/reporting/app/helpers/reporting_helper.rb b/modules/reporting/app/helpers/reporting_helper.rbindex 9cafe602998..46af2f59381 100644--- a/modules/reporting/app/helpers/reporting_helper.rb+++ b/modules/reporting/app/helpers/reporting_helper.rb@@ -68,10 +68,6 @@ module ReportingHelperendend- def debug_fields(result, prefix = ", ")- prefix << result.fields.inspect << ", " << result.important_fields.inspect << ", " << result.key.inspect if params[:debug]- end-def month_name(index)Date::MONTHNAMES[index].to_senddiff --git a/modules/reporting/lib/widget/table.rb b/modules/reporting/lib/widget/table.rbindex 8d0d1a8e34a..4274e61a502 100644--- a/modules/reporting/lib/widget/table.rb+++ b/modules/reporting/lib/widget/table.rb@@ -30,7 +30,7 @@ class Widget::Table < Widget::Baseextend Report::InheritedAttributeinclude ReportingHelper- attr_accessor :debug, :fields, :mapping+ attr_accessor :fields, :mappingdef initialize(query)raise ArgumentError, "Tables only work on CostQuery!" unless query.is_a? CostQuerydiff --git a/modules/reporting/lib/widget/table/report_table.rb b/modules/reporting/lib/widget/table/report_table.rbindex 4b39acf562d..77a0b26285a 100644--- a/modules/reporting/lib/widget/table/report_table.rb+++ b/modules/reporting/lib/widget/table/report_table.rb@@ -105,7 +105,8 @@ class Widget::Table::ReportTable < Widget::Table# rubocop:disable Metrics/AbcSizedef render_thead- return if walker.headers && walker.headers_empty?+ walker.headers+ return if walker.headers_empty?write "<thead>".html_safewalker.headers do |list, first, first_in_col, last_in_col|