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 missing include_subprojects property to schema

Oliver Günther45ea07d58896
diff --git a/lib/api/v3/queries/schemas/query_schema_representer.rb b/lib/api/v3/queries/schemas/query_schema_representer.rb
index 1849f0fbb5c..06fab3f9446 100644
--- a/lib/api/v3/queries/schemas/query_schema_representer.rb
+++ b/lib/api/v3/queries/schemas/query_schema_representer.rb
@@ -162,6 +162,12 @@ module API
writable: true,
has_default: true
+ schema :include_subprojects,
+ type: 'Boolean',
+ required: true,
+ writable: true,
+ has_default: true
+
schema_with_allowed_collection :columns,
type: '[]QueryColumn',
required: false,