From 5155c356275075630740e00448a251df929104d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 12 Nov 2021 12:02:59 +0100 Subject: [PATCH] E-Mail-Versand: CC: kivi-Benutzer sortieren --- SL/Controller/Order.pm | 2 +- bin/mozilla/io.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index c19eed6c4..cdae561cd 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -426,7 +426,7 @@ sub action_save_and_show_email_dialog { my %files = $self->get_files_for_email_dialog(); - $self->{all_employees} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]); + $self->{all_employees} = SL::DB::Manager::Employee->get_all_sorted(query => [ deleted => 0 ]); my $dialog_html = $self->render('common/_send_email_dialog', { output => 0 }, email_form => $email_form, show_bcc => $::auth->assert('email_bcc', 'may fail'), diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 6d1572b15..1ce4c18a2 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -2113,7 +2113,7 @@ sub show_sales_purchase_email_dialog { $body_params{fallback_translation_type} = "preset_text_invoice"; } - $::form->{all_employees} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]); + $::form->{all_employees} = SL::DB::Manager::Employee->get_all_sorted(query => [ deleted => 0 ]); my $email_form = { to => $email, -- 2.20.1