mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-25 07:16:21 +08:00
Merge pull request #1918 from brigriffin/fix-imap-sort
Use DATE instead of ARRIVAL for sorting messages (Fixes #1817)
This commit is contained in:
commit
d94cf4e6b0
1 changed files with 1 additions and 1 deletions
|
@ -1865,7 +1865,7 @@ class MailClient
|
|||
if (!\is_array($aResultUids))
|
||||
{
|
||||
$aResultUids = $bUseSortIfSupported ?
|
||||
$this->oImapClient->MessageSimpleSort(array('REVERSE ARRIVAL'), $sSearchCriterias, true) :
|
||||
$this->oImapClient->MessageSimpleSort(array('REVERSE DATE'), $sSearchCriterias, true) :
|
||||
$this->oImapClient->MessageSimpleSearch($sSearchCriterias, true, \MailSo\Base\Utils::IsAscii($sSearchCriterias) ? '' : 'UTF-8')
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue