From 1aee716da4e7ca3b531223d29ffd71fab0a8beaf Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 22 Nov 2006 15:33:51 +0000 Subject: [PATCH] Recommit von r1002 von skoehler: Bugfix 331, SQL-Fehler bei Artikel- und Dienstleistungssuche nach Modell --- SL/IC.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/IC.pm b/SL/IC.pm index fb2944b85..446176d36 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -904,11 +904,12 @@ sub all_parts { my $group; my $limit; - foreach my $item (qw(partnumber drawing microfiche make model)) { + foreach my $item (qw(partnumber drawing microfiche make)) { if ($form->{$item}) { $var = $form->like(lc $form->{$item}); # make will build later Bugfix 145 + # model will build later too - Bugfix 331 if ($item ne 'make') { $where .= " AND lower(p.$item) LIKE '$var'"; } -- 2.20.1