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

Use the CustomValue eagerloading inside the HistoricAttributes eager loading wrapper.

Dombi Attila5acdfb09ced7
diff --git a/lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb b/lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb
index edd06376866..e29ca66c356 100644
--- a/lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb
+++ b/lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb
@@ -72,12 +72,12 @@ module API
def eager_loader_classes_all
[
- ::API::V3::WorkPackages::EagerLoading::HistoricAttributes,
::API::V3::WorkPackages::EagerLoading::Hierarchy,
::API::V3::WorkPackages::EagerLoading::Ancestor,
::API::V3::WorkPackages::EagerLoading::Project,
::API::V3::WorkPackages::EagerLoading::Checksum,
::API::V3::WorkPackages::EagerLoading::CustomValue,
+ ::API::V3::WorkPackages::EagerLoading::HistoricAttributes,
::API::V3::WorkPackages::EagerLoading::CustomAction
]
end