Skip to content

Commit

Permalink
Fix bug where mail search could return empty result on servers withou…
Browse files Browse the repository at this point in the history
…t SORT capability (#5973)
  • Loading branch information
alecpl committed Oct 2, 2017
1 parent 972be07 commit 305900b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------
Expand Down
3 changes: 1 addition & 2 deletions program/lib/Roundcube/rcube_imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -1385,8 +1385,7 @@ public function index($folder = '', $sort_field = NULL, $sort_order = NULL,
$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);
}
}

Expand Down

0 comments on commit 305900b

Please sign in to comment.