Merge branch 'fronkdev' of code.fronk.at:fronk/thetool into fronkdev

This commit is contained in:
Frank Schubert
2025-07-16 17:37:38 +02:00
6 changed files with 750 additions and 16 deletions

View File

@@ -157,6 +157,20 @@ class ADBNetzgebietModel {
$where .= " AND Netzgebiet.`rimo_id` LIKE '%$rimo_id%'";
}
}
if(array_key_exists("source_id", $filter)) {
$source_id = FronkDB::singleton()->escape($filter['source_id']);
if($source_id) {
$where .= " AND Netzgebiet.`source_id` LIKE '%$source_id%'";
}
}
if(array_key_exists("source", $filter)) {
$source = FronkDB::singleton()->escape($filter['source']);
if($source) {
$where .= " AND Netzgebiet.`source` = '$source'";
}
}
if(array_key_exists("borderpoly", $filter)) {
$borderpoly = $filter['borderpoly'];