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

pull/6072/head
Aleksander Machniak 7 years ago
parent 972be07a41
commit 305900b4c3

@ -10,6 +10,7 @@ CHANGELOG Roundcube Webmail
- Enigma: Fix decryption of messages encoded with non-ascii charset (#5962)
- 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 bug where mail search could return empty result on servers without SORT capability (#5973)
RELEASE 1.3.1
-------------

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

Loading…
Cancel
Save