fixed ordering

This commit is contained in:
Luca Haid
2025-04-30 12:45:22 +02:00
parent 0c6380fe5d
commit f17cf770db

View File

@@ -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) {