Verknüpfte Belege: Standardmässig rekursive Belege finden
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 2 Jun 2014 12:59:38 +0000 (14:59 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 2 Jun 2014 12:59:38 +0000 (14:59 +0200)
SL/Controller/RecordLinks.pm

index 8c2a6eb..ea0c778 100644 (file)
@@ -53,7 +53,7 @@ sub action_ajax_list {
   my ($self) = @_;
 
   eval {
-    my $linked_records = $self->object->linked_records(direction => 'both');
+    my $linked_records = $self->object->linked_records(direction => 'both', recursive => 1);
     push @{ $linked_records }, $self->object->sepa_export_items if $self->object->can('sepa_export_items');
     my $output         = SL::Presenter->get->grouped_record_list(
       $linked_records,