From 327060cec3049f3dd7135b89c18c649124fd0509 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 27 Sep 2011 13:28:06 +0000 Subject: [PATCH] fix ports page sort (oops!) git-svn-id: http://www.observium.org/svn/observer/trunk@2598 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/ports.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;