Device list order by the MAC address.

This commit is contained in:
Mark Crane 2014-02-07 11:46:46 +00:00
parent 488872116a
commit d88603af28
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ else {
$sql = "select * from v_devices ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by) == 0) {
$sql .= "order by device_label, device_mac_address asc ";
$sql .= "order by device_mac_address asc ";
}
else {
$sql .= "order by $order_by $order ";