Construction consent/fix event
This commit is contained in:
@@ -580,6 +580,13 @@ 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']."%'))";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if(array_key_exists("add-where", $filter)) {
|
||||
|
||||
Reference in New Issue
Block a user