From f17cf770db10b2de9910cecbfd5daebfb120f668 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Wed, 30 Apr 2025 12:45:22 +0200 Subject: [PATCH] fixed ordering --- application/ConstructionConsent/ConstructionConsent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/ConstructionConsent/ConstructionConsent.php b/application/ConstructionConsent/ConstructionConsent.php index 82fc10100..e80f6eccf 100644 --- a/application/ConstructionConsent/ConstructionConsent.php +++ b/application/ConstructionConsent/ConstructionConsent.php @@ -376,7 +376,7 @@ class ConstructionConsent extends mfBaseModel { $items = []; if(!$order) { - $order = "adb_hausnummer_id ASC"; + $order = "vh.strasse, CAST(vh.hausnummer AS UNSIGNED) ASC"; } $having = ''; if(array_key_exists("status_light", $filter) && strlen(trim($filter['status_light'])) > 2) {