projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LinkedRecords: with_objects erlauben für shipped_qty
[kivitendo-erp.git]
/
SL
/
DB
/
Helper
/
LinkedRecords.pm
diff --git
a/SL/DB/Helper/LinkedRecords.pm
b/SL/DB/Helper/LinkedRecords.pm
index
c7de25b
..
2ed5d20
100644
(file)
--- a/
SL/DB/Helper/LinkedRecords.pm
+++ b/
SL/DB/Helper/LinkedRecords.pm
@@
-85,7
+85,12
@@
sub _linked_records_implementation {
$_->{_record_link_direction} = $wanted;
$_->{_record_link} = $link;
$_
$_->{_record_link_direction} = $wanted;
$_->{_record_link} = $link;
$_
- } @{ $manager_class->get_all(query => [ id => $link->$sub_wanted_id, @get_objects_query ]) };
+ } @{
+ $manager_class->get_all(
+ query => [ id => $link->$sub_wanted_id, @get_objects_query ],
+ (with_objects => $params{with_objects}) x !!$params{with_objects},
+ )
+ };
};
# If no 'via' is given then use a simple(r) method for querying the wanted objects.
};
# If no 'via' is given then use a simple(r) method for querying the wanted objects.