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

Merge remote-tracking branch 'origin/dev' into feature/closure_tree_hierarchy

ulferts328c627fa762
diff --cc lib/api/v3/work_packages/work_package_representer.rb
index 392ee70d3bb,655c4de884a..03ba1641546
--- a/lib/api/v3/work_packages/work_package_representer.rb
+++ b/lib/api/v3/work_packages/work_package_representer.rb
@@@ -536,8 -537,10 +537,8 @@@ module AP
def relations
self_path = api_v3_paths.work_package_relations(represented.id)
visible_relations = represented
- .visible_relations(current_user)
- .includes(::API::V3::Relations::RelationCollectionRepresenter.to_eager_load)
+ .visible_relations(current_user)
- .direct
- .non_hierarchy
+ .includes(::API::V3::Relations::RelationCollectionRepresenter.to_eager_load)
::API::V3::Relations::RelationCollectionRepresenter.new(visible_relations,
self_link: self_path,