Mercurial > hg > rc2
changeset 4:1ab920879b88
do date sort if sorting on dates, to get sub-threads in date order. See also thunderbird-labels.php:407 et seq.
author | Charlie Root |
---|---|
date | Thu, 18 Jan 2018 07:47:04 -0500 |
parents | bb8aca0e35ee |
children | 3a5f959af5ae |
files | program/steps/mail/list.inc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/program/steps/mail/list.inc Wed Jan 17 09:17:04 2018 -0500 +++ b/program/steps/mail/list.inc Thu Jan 18 07:47:04 2018 -0500 @@ -68,7 +68,7 @@ // fetch message headers if ($count = $RCMAIL->storage->count($mbox_name, $threading ? 'THREADS' : 'ALL', !empty($_REQUEST['_refresh']))) { $sort_col = rcmail_sort_column(); - $a_headers = $RCMAIL->storage->list_messages($mbox_name, NULL,($sort_col == 'dates')? NULL : $sort_col , rcmail_sort_order()); + $a_headers = $RCMAIL->storage->list_messages($mbox_name, NULL,($sort_col == 'dates')? 'date' : $sort_col , rcmail_sort_order()); } #rcube::write_log('mail',"list fetch: $count ".count($a_headers)); // update search set (possible change of threading mode)