diff --git a/lib/open_project/costs/engine.rb b/lib/open_project/costs/engine.rb index 505e5442c5..a30092e012 100644 --- a/lib/open_project/costs/engine.rb +++ b/lib/open_project/costs/engine.rb @@ -351,7 +351,7 @@ module OpenProject::Costs end module EagerLoadedCosts - def eager_loaded_work_packages(ids) + def add_eager_loading(*args) material = WorkPackage::MaterialCosts.new labor = WorkPackage::LaborCosts.new