From 517758911d08b46f34103ceb8ad067f3a2ee7c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 8 Feb 2011 11:01:31 +0000 Subject: [PATCH] --- include/wawi_bestelldetail.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wawi_bestelldetail.class.php b/include/wawi_bestelldetail.class.php index a1b2b3860..9c5b69d44 100644 --- a/include/wawi_bestelldetail.class.php +++ b/include/wawi_bestelldetail.class.php @@ -296,13 +296,13 @@ class wawi_bestelldetail extends basis_db if(!is_null($filter)) { - $qry.=" AND (beschreibung like '%".addslashes($filter)."%' + $qry.=" AND (lower(beschreibung) like lower('%".addslashes($filter)."%') OR bestelldetail_id::text like '%".addslashes($filter)."%' OR artikelnummer like '%".addslashes($filter)."%' )"; } $qry.=" ORDER BY sort, position;"; - + //echo $qry; if($this->db_query($qry)) { while($row = $this->db_fetch_object())