diff --git a/client_asset_add_modal.php b/client_asset_add_modal.php
index e931a91d..83032aa7 100644
--- a/client_asset_add_modal.php
+++ b/client_asset_add_modal.php
@@ -12,7 +12,7 @@
-
diff --git a/client_assets.php b/client_assets.php
index 2c38aada..ad713306 100644
--- a/client_assets.php
+++ b/client_assets.php
@@ -91,6 +91,16 @@ $sql = mysqli_query(
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
+
+// OS typeahead suggestions
+$os_sql = mysqli_query($mysqli, "SELECT DISTINCT asset_os AS label FROM assets WHERE asset_archived_at IS NULL");
+if (mysqli_num_rows($os_sql) > 0) {
+ while ($row = mysqli_fetch_array($os_sql)) {
+ $os_arr[] = $row;
+ }
+ $json_os = json_encode($os_arr);
+}
+
?>
@@ -619,3 +629,20 @@ require_once "client_asset_export_modal.php";
require_once "footer.php";
+?>
+
+
+
+
+