diff --git a/application/controllers/system/infocenter/InfoCenter.php b/application/controllers/system/infocenter/InfoCenter.php index 883f8b8f8..52c9e0d25 100644 --- a/application/controllers/system/infocenter/InfoCenter.php +++ b/application/controllers/system/infocenter/InfoCenter.php @@ -1153,7 +1153,7 @@ class InfoCenter extends Auth_Controller show_error($notizen->retval); } - $notizen_bewerbung = $this->NotizModel->getNotizByTitel($person_id, 'Anmerkung zur Bewerbung'); + $notizen_bewerbung = $this->NotizModel->getNotizByTitel($person_id, 'Anmerkung zur Bewerbung%'); if (isError($notizen_bewerbung)) { diff --git a/application/models/person/Notiz_model.php b/application/models/person/Notiz_model.php index 8df400933..a5453aaa1 100644 --- a/application/models/person/Notiz_model.php +++ b/application/models/person/Notiz_model.php @@ -156,7 +156,7 @@ class Notiz_model extends DB_Model $this->addJoin('public.tbl_notizzuordnung', 'notiz_id'); $this->addOrder('insertamum', 'DESC'); - return $this->loadWhere(array('person_id' => $person_id, 'titel' => $titel)); + return $this->loadWhere(array('person_id' => $person_id, 'titel LIKE' => $titel)); } // ------------------------------------------------------------------------------------------------------