mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
docs + hiding archived devices in Network view
This commit is contained in:
@@ -279,7 +279,8 @@
|
|||||||
a.devParentMAC as parent_mac,
|
a.devParentMAC as parent_mac,
|
||||||
a.devIcon as node_icon
|
a.devIcon as node_icon
|
||||||
FROM Devices a
|
FROM Devices a
|
||||||
WHERE a.devType in (".$networkDeviceTypes.") and devIsArchived = 0
|
WHERE a.devType in (".$networkDeviceTypes.")
|
||||||
|
AND devIsArchived = 0
|
||||||
) t1
|
) t1
|
||||||
LEFT JOIN
|
LEFT JOIN
|
||||||
(
|
(
|
||||||
@@ -363,6 +364,7 @@
|
|||||||
WHERE devParentMAC IS NULL
|
WHERE devParentMAC IS NULL
|
||||||
OR devParentMAC IN ("", " ", "undefined", "null")
|
OR devParentMAC IN ("", " ", "undefined", "null")
|
||||||
AND devMac NOT LIKE "%internet%"
|
AND devMac NOT LIKE "%internet%"
|
||||||
|
AND devIsArchived = 0
|
||||||
ORDER BY name ASC;';
|
ORDER BY name ASC;';
|
||||||
|
|
||||||
global $db;
|
global $db;
|
||||||
|
|||||||
Reference in New Issue
Block a user