X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FRecordLinks.pm;h=29921c6d3ee404ab9b8931d22332b93252a2ce8d;hb=a97574b881103cc09a48152a4f29f8a2cc1c38a3;hp=660909b041cedc3d2fa9dfc5ab225cb67e36d92d;hpb=6a13cdd529d54a34b5ab0b9da41019cb9636c75f;p=kivitendo-erp.git diff --git a/SL/Controller/RecordLinks.pm b/SL/Controller/RecordLinks.pm index 660909b04..29921c6d3 100644 --- a/SL/Controller/RecordLinks.pm +++ b/SL/Controller/RecordLinks.pm @@ -18,6 +18,7 @@ use SL::DBUtils qw(like); use SL::DB::ShopOrder; use SL::JSON; use SL::Locale::String; +use SL::Presenter::Record qw(grouped_record_list); use Rose::Object::MakeMethods::Generic ( @@ -63,7 +64,7 @@ sub action_ajax_list { my $linked_records = $self->object->linked_records(direction => 'both', recursive => 1, save_path => 1); push @{ $linked_records }, $self->object->sepa_export_items if $self->object->can('sepa_export_items'); - my $output = SL::Presenter->get->grouped_record_list( + my $output = grouped_record_list( $linked_records, with_columns => [ qw(record_link_direction) ], edit_record_links => 1,