From 77c873db480172bd8d73dd361f27ba7650dba00c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 10 Feb 2012 17:34:00 +0100 Subject: [PATCH] =?utf8?q?gel=C3=B6schte=20Benutzer=20in=20gl/search=20aus?= =?utf8?q?blenden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/gl.pl | 2 +- templates/webpages/gl/search.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index a4f2d1dfe..ce1d1a9dd 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -217,8 +217,8 @@ sub search { $::form->all_departments(\%::myconfig); $::form->get_lists( projects => { key => "ALL_PROJECTS", all => 1 }, - employees => "ALL_EMPLOYEES", ); + $::form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]); my $onload = "focus()" . qq|;setupDateFormat('|. $::myconfig{dateformat} . qq|', '| . $::locale->text("Falsches Datumsformat!") . qq|')| diff --git a/templates/webpages/gl/search.html b/templates/webpages/gl/search.html index 0d3a15585..6c5b7d78b 100644 --- a/templates/webpages/gl/search.html +++ b/templates/webpages/gl/search.html @@ -44,7 +44,7 @@ [% 'Employee' | $T8 %] - [% L.select_tag('employee', L.options_for_select(ALL_EMPLOYEES, value_sub=\employee_label, title='name', with_empty=1)) %] + [% L.select_tag('employee', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1)) %] [% 'Filter date by' | $T8 %] -- 2.20.1