Fix bug where mail search could return empty result on servers without SORT capability (#5973)

pull/6002/head
Aleksander Machniak 7 years ago
parent 56b5eced08
commit 117c150b2f

@ -51,6 +51,7 @@ CHANGELOG Roundcube Webmail
- Enigma: Fix decryption of messages encoded with non-ascii charset (#5962) - Enigma: Fix decryption of messages encoded with non-ascii charset (#5962)
- Fix missing cursor in HTML editor on mail reply (#5969) - Fix missing cursor in HTML editor on mail reply (#5969)
- Fix (again) bug where image data URIs in css style were treated as evil/remote in mail preview (#5580) - Fix (again) bug where image data URIs in css style were treated as evil/remote in mail preview (#5580)
- Fix bug where mail search could return empty result on servers without SORT capability (#5973)
RELEASE 1.3.1 RELEASE 1.3.1
------------- -------------

@ -1390,8 +1390,7 @@ class rcube_imap extends rcube_storage
$index = new rcube_result_index($folder, '* ESEARCH ALL ' . $search); $index = new rcube_result_index($folder, '* ESEARCH ALL ' . $search);
} }
else { else {
$index = $this->index_direct($folder, $this->search_charset, $index = $this->index_direct($folder, $this->sort_field, $this->sort_order, $this->search_set);
$this->sort_field, $this->search_set);
} }
} }

Loading…
Cancel
Save