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 item.ancestry_path instead of own nodes.mapping
as-opb5f03394d4b6
diff --git a/app/models/exports/formatters/hierarchy/hierarchy_formatter.rb b/app/models/exports/formatters/hierarchy/hierarchy_formatter.rbindex 2f930da8983..8fb68da56cd 100644--- a/app/models/exports/formatters/hierarchy/hierarchy_formatter.rb+++ b/app/models/exports/formatters/hierarchy/hierarchy_formatter.rb@@ -48,12 +48,7 @@ module Exportsitem = ::CustomField::Hierarchy::Item.find_by(id: item_value.to_s)return "#{item_value} #{I18n.t(:label_not_found)}" if item.nil?- nodes = hierarchy_item_service.get_branch(item:).value!- nodes- .reject(&:root?)- .map do |branch_item|- branch_item.short.present? ? "#{branch_item.label} (#{branch_item.short})" : branch_item.label- end.join(" / ")+ item.ancestry_pathenddef hierarchy_item_service