From 682a07436395bb9d12d25663db72aebe651d554a Mon Sep 17 00:00:00 2001
From: =?utf8?q?Stephan=20K=C3=B6hler?= <s.koehler@linet-services.de>
Date: Thu, 23 Mar 2006 10:26:47 +0000
Subject: [PATCH] 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 eaa5e880b..e002352a6 100644
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -825,11 +825,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