diff --git a/include/organisationseinheit.class.php b/include/organisationseinheit.class.php index e6e0c4bd3..092c710b9 100644 --- a/include/organisationseinheit.class.php +++ b/include/organisationseinheit.class.php @@ -572,7 +572,7 @@ class organisationseinheit extends basis_db foreach($searchItem as $value) { $qry.=' OR (LOWER(oe_kurzbz)=LOWER('.$this->db_add_param($value).')) - OR (LOWER(bezeichnung)=LOWER('.$this->db_add_param($value).'))'; + OR (LOWER(bezeichnung) LIKE LOWER(\'%'.$value.'%\'))'; } $qry.= ' ORDER BY organisationseinheittyp_kurzbz, bezeichnung;';