Added unit_missing & connection_count filter in Preorder/Index

This commit is contained in:
Frank Schubert
2023-04-18 15:21:43 +02:00
parent 9cdd77e7dc
commit 8929e9b7d4
3 changed files with 37 additions and 0 deletions
@@ -144,6 +144,15 @@ class PreorderController extends mfBaseController {
}
}
if(array_key_exists("unit_missing", $filter)) {
if($filter['unit_missing'] == "yes") {
$new_filter['adb_wohneinheit_id'] = null;
} elseif($filter['unit_missing'] == "no") {
$new_filter['adb_wohneinheit_id'] = true;
}
unset($filter['unit_missing']);
}
if(array_key_exists("attributes", $filter) && count($filter['attributes'])) {
}