- Fix large search results on server without SORT capability (#1485668)

release-0.6
alecpl 16 years ago
parent 5282aa65e2
commit 0d57de907f

@ -6,6 +6,7 @@ CHANGELOG RoundCube Webmail
- Fix creation of folders with '&' sign in name
- Fix parsing of email addresses without angle brackets (#1485693)
- Save spellcheck corrections when switching from plain to html editor (and spellchecking is on)
- Fix large search results on server without SORT capability (#1485668)
2009/01/22 (thomasb)
----------

@ -687,7 +687,7 @@ class rcube_imap
// use memory less expensive (and quick) method for big result set
$a_index = $this->message_index($mailbox, $this->sort_field, $this->sort_order);
// get messages uids for one page...
$msgs = array_slice(array_keys($a_index), $start_msg, min($cnt-$start_msg, $this->page_size));
$msgs = array_slice($a_index, $start_msg, min($cnt-$start_msg, $this->page_size));
// ...and fetch headers
$this->_fetch_headers($mailbox, join(',', $msgs), $a_msg_headers, NULL);

Loading…
Cancel
Save