From 9ba2705f951f724af2b1c2a9a734b1d81a3b9165 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 29 May 2007 11:08:39 +0000 Subject: [PATCH] =?utf8?q?Das=20Filtern=20von=20Angebots-/Auftrags-/Anfrag?= =?utf8?q?enberichten=20nach=20dem=20Bearbeiter=20erm=C3=B6glicht.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/OE.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/OE.pm b/SL/OE.pm index 201f5b515..3800e334a 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -102,6 +102,11 @@ sub transactions { push(@values, '%' . $form->{$vc} . '%'); } + if ($form->{employee_id}) { + $query .= " AND o.employee_id = ?"; + push @values, conv_i($form->{employee_id}); + } + if (!$form->{open} && !$form->{closed}) { $query .= " AND o.id = 0"; } elsif (!($form->{open} && $form->{closed})) { -- 2.20.1