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

add parent to project eager loading

ulfertse42af9fe0bb1
diff --git a/lib/api/v3/projects/project_representer.rb b/lib/api/v3/projects/project_representer.rb
index a505eb18b0a..6f27fb915cd 100644
--- a/lib/api/v3/projects/project_representer.rb
+++ b/lib/api/v3/projects/project_representer.rb
@@ -220,6 +220,7 @@ module API
end
self.to_eager_load = [:status,
+ :parent,
:enabled_modules,
custom_values: :custom_field]