summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_imap.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib/Roundcube/rcube_imap.php')
-rw-r--r--program/lib/Roundcube/rcube_imap.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index 698d0daf3..dd0501c2d 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -953,6 +953,7 @@ class rcube_imap extends rcube_storage
$this->sort_field = null;
$this->page_size = 1000; // fetch up to 1000 matching messages per folder
+ $this->threading = false;
$a_msg_headers = array();
foreach ($search_set->sets as $resultset) {
@@ -1487,6 +1488,9 @@ class rcube_imap extends rcube_storage
// connect IMAP to have all the required classes and settings loaded
$this->check_connection();
+ // disable threading
+ $this->threading = false;
+
$searcher = new rcube_imap_search($this->options, $this->conn);
$results = $searcher->exec(
$folder,