diff --git a/html/pages/ports.inc.php b/html/pages/ports.inc.php index f7bbd890e..2c4d259c1 100644 --- a/html/pages/ports.inc.php +++ b/html/pages/ports.inc.php @@ -321,7 +321,7 @@ switch ($vars['sort']) $query_sort = " ORDER BY D.hostname, I.ifIndex ASC"; } -$query = "SELECT * FROM `ports` AS I, `devices` AS D WHERE I.device_id = D.device_id ".$where." ".$query_sort." DESC"; +$query = "SELECT * FROM `ports` AS I, `devices` AS D WHERE I.device_id = D.device_id ".$where." ".$query_sort; $row = 1;