Es ermöglichen, dass bei den Berichtsfunktionen nicht nach Bearbeitern gefiltert...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 29 May 2007 11:07:05 +0000 (11:07 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 29 May 2007 11:07:05 +0000 (11:07 +0000)
bin/mozilla/oe.pl

index ac4dcf5..c9cb92e 100644 (file)
@@ -1386,7 +1386,7 @@ sub search {
 
   $form->get_lists("projects" => { "key" => "ALL_PROJECTS",
                                    "all" => 1 },
-                   "employees" => "ALL_EMPLOYEES",          
+                   "employees" => "ALL_EMPLOYEES",
                    $vc => "ALL_" . uc($vc));
 
   my %labels = ();
@@ -1401,7 +1401,7 @@ sub search {
 
   #employees
   %labels = ();
-  @values = ();
+  @values = ("");
   foreach my $item (@{ $form->{"ALL_EMPLOYEES"} }) {
     push(@values, $item->{"id"});
     $labels{$item->{"id"}} = $item->{"name"} ne "" ? $item->{"name"} : $item->{"login"};
@@ -1411,8 +1411,9 @@ sub search {
     <tr>
       <th align="right">| . $locale->text('Employee') . qq|</th>
       <td>| .
-        NTI($cgi->popup_menu('-name' => 'employee_id', '-default' => $form->{"employee_id"},
-                             '-values' => \@values, '-labels' => \%labels)) . qq|
+        NTI($cgi->popup_menu('-name'   => 'employee_id',
+                             '-values' => \@values,
+                             '-labels' => \%labels)) . qq|
       </td>
     </tr>|;