diff --git a/client_assets.php b/client_assets.php index be174d5e..23f7ef79 100644 --- a/client_assets.php +++ b/client_assets.php @@ -51,8 +51,6 @@ $row = mysqli_fetch_assoc(mysqli_query($mysqli, " LEFT JOIN asset_interfaces ON interface_asset_id = asset_id AND interface_primary = 1 WHERE asset_client_id = $client_id AND asset_$archive_query - AND (asset_name LIKE '%$q%' OR asset_description LIKE '%$q%' OR asset_type LIKE '%$q%' OR interface_ip LIKE '%$q%' OR interface_ipv6 LIKE '%$q%' OR asset_make LIKE '%$q%' OR asset_model LIKE '%$q%' OR asset_serial LIKE '%$q%' OR asset_os LIKE '%$q%' OR contact_name LIKE '%$q%' OR location_name LIKE '%$q%') - $location_query ) AS filtered_assets; ")); @@ -95,6 +93,20 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); ?> +
+
+ Workstations + + Servers + + Virtual + + Network + + Other +
+
+

Assets

@@ -126,7 +138,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
-
s"> @@ -178,77 +189,50 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
-
-
-
- - All Assets - - 0) { ?> - Workstations - 0) { ?> - Servers - 0) { ?> - Virtual - 0) { ?> - Network - 0) { ?> - Other - -
-
- "> - Archived - -
+

diff --git a/report_assets.php b/report_assets.php index 7f0822f1..042e6607 100644 --- a/report_assets.php +++ b/report_assets.php @@ -105,6 +105,36 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
+
+
+
+ + All Assets + + 0) { ?> + Workstations + 0) { ?> + Servers + 0) { ?> + Virtual + 0) { ?> + Network + 0) { ?> + Other + +
+
+
@@ -190,36 +220,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
-
-
-
- - All Assets - - 0) { ?> - Workstations - 0) { ?> - Servers - 0) { ?> - Virtual - 0) { ?> - Network - 0) { ?> - Other - -
-
-
+