From: Sven Schöling Date: Tue, 3 Jan 2017 15:13:37 +0000 (+0100) Subject: Performance: inject_results in linked_records X-Git-Tag: release-3.5.4~1768 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2a5c1eb378137a5dd14da64b9875dc947ec2557b;p=kivitendo-erp.git Performance: inject_results in linked_records --- diff --git a/SL/DB/Helper/LinkedRecords.pm b/SL/DB/Helper/LinkedRecords.pm index 2ed5d2036..026131b17 100644 --- a/SL/DB/Helper/LinkedRecords.pm +++ b/SL/DB/Helper/LinkedRecords.pm @@ -89,6 +89,7 @@ sub _linked_records_implementation { $manager_class->get_all( query => [ id => $link->$sub_wanted_id, @get_objects_query ], (with_objects => $params{with_objects}) x !!$params{with_objects}, + inject_results => 1, ) }; };