Merge branch 'ConstructionConsent/ordering' into 'master'

fixed ordering

See merge request fronk/thetool!1285
This commit is contained in:
Luca Haid
2025-04-30 10:45:34 +00:00

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