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
use integer/float value for summing
ulferts33099d666cfa
diff --git a/app/models/queries/work_packages/columns/custom_field_column.rb b/app/models/queries/work_packages/columns/custom_field_column.rbindex 064a303866c..e8f9910d41c 100644--- a/app/models/queries/work_packages/columns/custom_field_column.rb+++ b/app/models/queries/work_packages/columns/custom_field_column.rb@@ -90,7 +90,7 @@ class Queries::WorkPackages::Columns::CustomFieldColumn < Queries::WorkPackages:else# TODO: eliminate calls of this method with an Array and drop the :compact call belowActiveSupport::Deprecation.warn('Passing an array of work packages is deprecated. Pass an AR-relation instead.')- work_packages.map { |wp| value(wp) }.compact.reduce(:+)+ work_packages.map { |wp| wp.typed_custom_value_for(@cf) }.compact.reduce(:+)endend