mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Show newest emails first
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
$sql = "select * from v_email_queue ";
|
||||
$sql .= "where (email_status = 'waiting' or email_status = 'trying') ";
|
||||
$sql .= "and hostname = :hostname ";
|
||||
$sql .= "order by domain_uuid asc ";
|
||||
$sql .= "order by domain_uuid, email_date desc ";
|
||||
$sql .= "limit :limit ";
|
||||
$parameters['hostname'] = $hostname;
|
||||
$parameters['limit'] = $email_queue_limit;
|
||||
|
||||
Reference in New Issue
Block a user