From fc7bf317aa5702f3afa954809d1674b1d171248c Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Thu, 17 Jul 2025 13:52:05 +0200 Subject: [PATCH] fixed import bugs and filter --- application/ConstructionConsent/ConstructionConsent.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/ConstructionConsent/ConstructionConsent.php b/application/ConstructionConsent/ConstructionConsent.php index eb2931f17..75857f1d9 100644 --- a/application/ConstructionConsent/ConstructionConsent.php +++ b/application/ConstructionConsent/ConstructionConsent.php @@ -247,6 +247,9 @@ class ConstructionConsent extends mfBaseModel { } foreach($owners as $owner) { + if($owner->result == "open" && $owner->status == "new") { + $owner->result = "new"; + } if(!array_key_exists($owner->result, $counts)) { $counts[$owner->result] = 0; }