AP::search: ALL_PROJECTS muss nicht mehr geladen werden
authorSven Schöling <s.schoeling@googlemail.com>
Fri, 23 Oct 2020 13:32:00 +0000 (15:32 +0200)
committerSven Schöling <s.schoeling@googlemail.com>
Fri, 23 Oct 2020 13:32:00 +0000 (15:32 +0200)
bin/mozilla/ap.pl

index 03542d7..2fe8041 100644 (file)
@@ -937,8 +937,6 @@ sub search {
 
   $form->{title} = $locale->text('Vendor Invoices & AP Transactions');
 
-  $form->get_lists(projects => { "key" => "ALL_PROJECTS", "all" => 1 });
-
   $::form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all_sorted;
   # constants and subs for template
   $form->{vc_keys}   = sub { "$_[0]->{name}--$_[0]->{id}" };