mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Fix the order of the fax list.
This commit is contained in:
@@ -102,6 +102,7 @@ require_once "resources/paging.php";
|
||||
//show all fax extensions
|
||||
$sql = "select * from v_fax ";
|
||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||
$sql .= "order by fax_name asc ";
|
||||
}
|
||||
else {
|
||||
//show only assigned fax extensions
|
||||
@@ -109,6 +110,7 @@ require_once "resources/paging.php";
|
||||
$sql .= "where f.fax_uuid = u.fax_uuid ";
|
||||
$sql .= "and f.domain_uuid = '".$_SESSION['domain_uuid']."' ";
|
||||
$sql .= "and u.user_uuid = '".$_SESSION['user_uuid']."' ";
|
||||
$sql .= "order by f.fax_name asc ";
|
||||
}
|
||||
if (strlen($order_by) > 0) { $sql .= "order by $order_by $order "; }
|
||||
$sql .= "limit $rows_per_page offset $offset ";
|
||||
|
||||
Reference in New Issue
Block a user