Construction consent/fix event

This commit is contained in:
Luca Haid
2025-03-12 14:07:36 +00:00
parent 00aa931611
commit e887dd9019
2 changed files with 9 additions and 1 deletions
@@ -583,7 +583,7 @@ class ConstructionConsent extends mfBaseModel {
if (array_key_exists("cwo", $filter)) {
$where .= " AND EXISTS
(SELECT 1 FROM ConstructionConsentOwner co WHERE co.constructionconsent_id = ConstructionConsent.id AND
(co.firstname LIKE '%".$filter['cwo']."%' OR co.lastname LIKE '%".$filter['cwo']."%'))";
LOWER(CONCAT(co.FIRST_NAME, ' ', co.LAST_NAME)) LIKE LOWER('%".$filter['cwo']."%')";
}