mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
Device list order by the MAC address.
This commit is contained in:
@@ -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 ";
|
||||
|
||||
Reference in New Issue
Block a user