Services is now in global view

This commit is contained in:
johnnyq
2025-02-20 17:20:15 -05:00
parent 713bd0dab7
commit fe68a1f641
6 changed files with 303 additions and 227 deletions

View File

@@ -26,7 +26,7 @@ $sql = mysqli_query(
"SELECT SQL_CALC_FOUND_ROWS * FROM networks
LEFT JOIN clients ON client_id = network_client_id
LEFT JOIN locations ON location_id = network_location_id
WHERE network_archived_at IS NULL
WHERE network_$archive_query
AND (network_name LIKE '%$q%' OR network_description LIKE '%$q%' OR network_vlan LIKE '%$q%' OR network LIKE '%$q%' OR network_gateway LIKE '%$q%' OR network_subnet LIKE '%$q%' OR network_primary_dns LIKE '%$q%' OR network_secondary_dns LIKE '%$q%' OR network_dhcp_range LIKE '%$q%' OR location_name LIKE '%$q%' OR client_name LIKE '%$q%')
$client_query
ORDER BY $sort $order LIMIT $record_from, $record_to"