ADB: Added stiege as part of Hausnummer

This commit is contained in:
Frank Schubert
2024-05-16 15:47:41 +02:00
parent 58ffea17a4
commit 29459e9cca
13 changed files with 111 additions and 36 deletions
@@ -10,6 +10,7 @@ class ADBHausnummerModel {
public $plz_id;
public $strasse_id;
public $hausnummer;
public $stiege;
public $zusatz;
public $grund_nr;
public $gdaeigenschaft;
@@ -338,6 +339,13 @@ class ADBHausnummerModel {
$where .= " AND Hausnummer.`hausnummer` like '$hausnummer%'";
}
}
if(array_key_exists("stiege", $filter)) {
$stiege = FronkDB::singleton()->escape($filter['stiege']);
if($stiege) {
$where .= " AND stiege.name = '$stiege'";
}
}
if(array_key_exists("strasse", $filter)) {
$strasse = FronkDB::singleton()->escape($filter['strasse']);