Sort Interface Ports ASC instead of DESC in asset details

This commit is contained in:
johnnyq
2025-01-14 22:33:31 -05:00
parent 5d3b4c8ff7
commit a5d3c73249

View File

@@ -100,7 +100,7 @@ if (isset($_GET['asset_id'])) {
LEFT JOIN networks ON network_id = interface_network_id LEFT JOIN networks ON network_id = interface_network_id
WHERE asset_id = $asset_id WHERE asset_id = $asset_id
AND interface_archived_at IS NULL AND interface_archived_at IS NULL
ORDER BY interface_name DESC" ORDER BY interface_name ASC"
); );
$interface_count = mysqli_num_rows($sql_related_interfaces); $interface_count = mysqli_num_rows($sql_related_interfaces);