Do not show archived content when adding a service

This commit is contained in:
johnnyq
2023-11-06 13:19:27 -05:00
parent 43b94ebddc
commit 11b814b4c8
2 changed files with 9 additions and 9 deletions

View File

@@ -118,8 +118,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
LEFT JOIN assets ON service_assets.asset_id = assets.asset_id
LEFT JOIN logins ON service_assets.asset_id = logins.login_asset_id
LEFT JOIN networks ON assets.asset_network_id = networks.network_id
LEFT JOIN locations ON assets.asset_location_id = locations.location_id
WHERE service_id = $service_id"
LEFT JOIN locations ON assets.asset_location_id = locations.location_id
AND service_id = $service_id"
);
// Associated logins