Do not show related content in edit service if the entity archived date is greater than when the service was created

This commit is contained in:
johnnyq
2023-11-06 13:46:52 -05:00
parent 167c2a5b43
commit dff4eff5cc
2 changed files with 9 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ $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
LEFT JOIN locations ON assets.asset_location_id = locations.location_id
AND service_id = $service_id"
);