From: Jan Büren Date: Thu, 31 Mar 2022 12:01:59 +0000 (+0200) Subject: Ungültige Sprachen nicht mehr im Angebot/Auftrag/Beistell-LS X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~71 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=080707b87d4bc5c523d2dd88b8aaf956a6191dd7;p=kivitendo-erp.git Ungültige Sprachen nicht mehr im Angebot/Auftrag/Beistell-LS --- diff --git a/SL/Controller/DeliveryOrder.pm b/SL/Controller/DeliveryOrder.pm index db3184435..564364afa 100644 --- a/SL/Controller/DeliveryOrder.pm +++ b/SL/Controller/DeliveryOrder.pm @@ -1736,7 +1736,7 @@ sub pre_render { $self->{all_taxzones} = SL::DB::Manager::TaxZone->get_all_sorted(); $self->{all_currencies} = SL::DB::Manager::Currency->get_all_sorted(); $self->{all_departments} = SL::DB::Manager::Department->get_all_sorted(); - $self->{all_languages} = SL::DB::Manager::Language->get_all_sorted(); + $self->{all_languages} = SL::DB::Manager::Language->get_all_sorted( query => [ obsolete => 0 ] ); $self->{all_employees} = SL::DB::Manager::Employee->get_all(where => [ or => [ id => $self->order->employee_id, deleted => 0 ] ], sort_by => 'name'); diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index af7858a5d..5959c4313 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1958,7 +1958,7 @@ sub pre_render { $self->{all_taxzones} = SL::DB::Manager::TaxZone->get_all_sorted(); $self->{all_currencies} = SL::DB::Manager::Currency->get_all_sorted(); $self->{all_departments} = SL::DB::Manager::Department->get_all_sorted(); - $self->{all_languages} = SL::DB::Manager::Language->get_all_sorted(); + $self->{all_languages} = SL::DB::Manager::Language->get_all_sorted( query => [ obsolete => 0 ] ); $self->{all_employees} = SL::DB::Manager::Employee->get_all(where => [ or => [ id => $self->order->employee_id, deleted => 0 ] ], sort_by => 'name');