fix ports page sort (oops!)

git-svn-id: http://www.observium.org/svn/observer/trunk@2598 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-09-27 13:28:06 +00:00
parent 9ff0fdb443
commit 327060cec3

View File

@@ -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;