From cf40d4fb77d2b1102417a693b036e9bd11038476 Mon Sep 17 00:00:00 2001 From: kindlm Date: Thu, 24 Sep 2015 12:04:57 +0200 Subject: [PATCH] OE-Suche kleinschreibung --- include/organisationseinheit.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/organisationseinheit.class.php b/include/organisationseinheit.class.php index 0b3f11972..bb1be584d 100644 --- a/include/organisationseinheit.class.php +++ b/include/organisationseinheit.class.php @@ -569,11 +569,11 @@ class organisationseinheit extends basis_db )'; foreach($searchItem as $value) { - $qry.=' OR (oe_kurzbz='.$this->db_add_param($value).') - OR (bezeichnung='.$this->db_add_param($value).')'; + $qry.=' OR (LOWER(oe_kurzbz)=LOWER('.$this->db_add_param($value).')) + OR (LOWER(bezeichnung)=LOWER('.$this->db_add_param($value).'))'; } - $qry.= 'ORDER BY organisationseinheittyp_kurzbz, bezeichnung;'; - + $qry.= ' ORDER BY organisationseinheittyp_kurzbz, bezeichnung;'; + echo $qry; if($this->db_query($qry)) { while($row = $this->db_fetch_object())