From 38823dc12d7ab06de032277cf4434c02e77ca770 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 9 Nov 2020 13:27:19 +0100 Subject: [PATCH] =?utf8?q?Angebote/Auftr=C3=A4ge:=20Abteilungen=20sortiert?= =?utf8?q?=20anzeigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/oe.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 012914d03..524afc46e 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -525,7 +525,7 @@ sub form_header { "price_factors" => "ALL_PRICE_FACTORS"); $form->{ALL_PAYMENTS} = SL::DB::Manager::PaymentTerm->get_all( where => [ or => [ obsolete => 0, id => $form->{payment_id} || undef ] ]); - $form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all; + $form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all_sorted; # Projects my @old_project_ids = uniq grep { $_ } map { $_ * 1 } ($form->{"globalproject_id"}, map { $form->{"project_id_$_"} } 1..$form->{"rowcount"}); -- 2.20.1