Added Filter to Order/Index

This commit is contained in:
Frank Schubert
2021-09-07 20:10:56 +02:00
parent 9a70044d7b
commit a421a11104
5 changed files with 245 additions and 23 deletions

View File

@@ -84,6 +84,7 @@ class NetworkAddressModel {
$db = FronkDB::singleton();
$where = self::getSqlFilter($filter);
mfLoghandler::singleton()->debug($where);
$res = $db->select("NetworkAddress", "*", "$where ORDER BY `type`");
if($db->num_rows($res)) {
while($data = $db->fetch_object($res)) {