diff --git a/client_assets.php b/client_assets.php index 95b481eb..cf22c57e 100644 --- a/client_assets.php +++ b/client_assets.php @@ -78,6 +78,7 @@ if(isset($_GET['type']) && ($_GET['type']) == 'workstation'){ $type_query = "asset_type NOT LIKE 'laptop' AND asset_type NOT LIKE 'desktop' AND asset_type NOT LIKE 'server' AND asset_type NOT LIKE 'virtual machine' AND asset_type NOT LIKE 'firewall/router' AND asset_type NOT LIKE 'switch' AND asset_type NOT LIKE 'access point'"; }else{ $type_query = "asset_type LIKE '%'"; + $_GET['type'] = 'all'; } //Rebuild URL @@ -117,7 +118,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
- All Assets + All Assets 0){ ?> Workstations