Presenter: Neue Struktur in RecordLinks
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 20 Dec 2017 13:15:42 +0000 (14:15 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 20 Dec 2017 13:15:42 +0000 (14:15 +0100)
SL/Controller/RecordLinks.pm

index 29921c6..67b97d9 100644 (file)
@@ -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(