diff options
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | program/include/rcube_imap.php | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ CHANGELOG Roundcube Webmail =========================== +- Fix counting of messages search results (on refresh when search filter is in use) + +RELEASE 0.7.2 +------------- - Fix encoding of attachment with comma in name (#1488389) - Fix handling of % character in IMAP protocol (#1488382) - Fix duplicate names handling in addressbook searches (#1488375) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index a536e9235..ed84845c4 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -687,8 +687,8 @@ class rcube_imap { $mode = strtoupper($mode); - // count search set - if ($this->search_string && $mailbox == $this->mailbox && ($mode == 'ALL' || $mode == 'THREADS') && !$force) { + // count search set, assume search set is always up-to-date (don't check $force flag) + if ($this->search_string && $mailbox == $this->mailbox && ($mode == 'ALL' || $mode == 'THREADS')) { if ($this->search_threads) return $mode == 'ALL' ? count((array)$this->search_set['depth']) : count((array)$this->search_set['tree']); else |