From 8ccbc12024ffc5ba093cb319ac9b1ceea94e06ed Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sat, 28 Jun 2025 16:58:37 +1000 Subject: [PATCH] docs + hiding archived devices in Network view --- front/network.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/front/network.php b/front/network.php index 0d7a5034..eb27d95f 100755 --- a/front/network.php +++ b/front/network.php @@ -279,7 +279,8 @@ a.devParentMAC as parent_mac, a.devIcon as node_icon FROM Devices a - WHERE a.devType in (".$networkDeviceTypes.") and devIsArchived = 0 + WHERE a.devType in (".$networkDeviceTypes.") + AND devIsArchived = 0 ) t1 LEFT JOIN ( @@ -363,6 +364,7 @@ WHERE devParentMAC IS NULL OR devParentMAC IN ("", " ", "undefined", "null") AND devMac NOT LIKE "%internet%" + AND devIsArchived = 0 ORDER BY name ASC;'; global $db;