Aleksander Machniak
2013-06-30 049ba0aed21590dbbc3286d68b45a7f46d28b142
Fix message list sort with THREADS=REFS and sort column other than "None" or "Sent date"
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_imap.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_imap.php
@@ -1370,7 +1370,7 @@
        // THREAD=REFERENCES:     sorting by sent date of root message
        // THREAD=REFS:           sorting by the most recent date in each thread
        if ($this->threading != 'REFS') {
        if ($this->threading != 'REFS' || ($this->sort_field && $this->sort_field != 'date')) {
            $sortby = $this->sort_field ? $this->sort_field : 'date';
            $index  = $this->index($this->folder, $sortby, $this->sort_order, true, true);