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

baseline api: show "_meta" "matchesFilters" only when a query is passed

Sebastian Fiedlschuster1a0d02ddb781
diff --git a/lib/api/v3/work_packages/work_package_representer.rb b/lib/api/v3/work_packages/work_package_representer.rb
index 49dfe27e2ea..b38e2805826 100644
--- a/lib/api/v3/work_packages/work_package_representer.rb
+++ b/lib/api/v3/work_packages/work_package_representer.rb
@@ -353,7 +353,7 @@ module API
# This meta property holds the timestamp of the data of the work package.
#
'timestamp': timestamps.last.to_s
- }
+ }.compact
},
uncacheable: true