diff --git a/application/ConstructionConsent/ConstructionConsent.php b/application/ConstructionConsent/ConstructionConsent.php index da1c952a2..765795cd2 100644 --- a/application/ConstructionConsent/ConstructionConsent.php +++ b/application/ConstructionConsent/ConstructionConsent.php @@ -524,6 +524,13 @@ FROM ConstructionConsent } } + if(array_key_exists("kg", $filter)) { + $ez = FronkDB::singleton()->escape($filter["kg"]); + if($ez) { + $where .= " AND kg='$ez'"; + } + } + if(array_key_exists("gst", $filter)) { $gst = FronkDB::singleton()->escape($filter["gst"]); if($gst) {