summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-29 17:11:24 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-29 17:56:54 +0200
commitd2fa254d904ac16b8faba723af4f477923324e86 (patch)
tree2f2a6bc1ce220525c9b558373fbe4b8245705ec9 /program/lib
parent357dc9722869e77323d2e02773da1b54bd1737c9 (diff)
Fix messages list sorting with THREAD=REFS
Conflicts: CHANGELOG
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index a323a84e4..869fa9eea 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -1336,7 +1336,7 @@ class rcube_imap extends rcube_storage
// THREAD=REFERENCES: sorting by sent date of root message
// THREAD=REFS: sorting by the most recent date in each thread
- if ($this->get_capability('THREAD') != 'REFS') {
+ if ($this->threading != 'REFS') {
$sortby = $this->sort_field ? $this->sort_field : 'date';
$index = $this->index_direct($this->folder, $sortby, $this->sort_order, false);