From 71fb51fb1cb66e6fefc6792fc6a25fed2a215f25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 20 Dec 2017 14:15:42 +0100 Subject: [PATCH] Presenter: Neue Struktur in RecordLinks --- SL/Controller/RecordLinks.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/RecordLinks.pm b/SL/Controller/RecordLinks.pm index 29921c6d3..67b97d92e 100644 --- a/SL/Controller/RecordLinks.pm +++ b/SL/Controller/RecordLinks.pm @@ -106,7 +106,7 @@ sub action_ajax_add_filter { my $presenter = $self->presenter; my @link_type_select = map { [ $_->{type}, $_->{title} ] } @link_types; - my @projects = map { [ $_->id, $presenter->project($_, display => 'inline', style => 'both', no_link => 1) ] } @{ SL::DB::Manager::Project->get_all_sorted }; + my @projects = map { [ $_->id, $_->presenter->project(display => 'inline', style => 'both', no_link => 1) ] } @{ SL::DB::Manager::Project->get_all_sorted }; my $is_sales = $self->object->can('customer_id') && $self->object->customer_id; $self->render( -- 2.20.1