Assume imap_thread_algorithm='REFS'. Sometimes you want to sort by the date of the last message received
in a thread (i.e. index_sort=true, message_sort_col='date') and sometimes
you want to sort by the date of the first message in a thread (i.e. index_sort=false). At present the user must go into settings to turn index_sort on/off which is unintuitive. This is the reason I argued
for a 4-state Date column.
Hi, i just want to clarify something, because the above paragraph is
confusing me.
In my view index_sort has nothing to do with threading. index_sort
just says 'do I use the Date: header, or do I use the message index as
the sort order'. This helps for instance to prevent spammers from
inserting a date header far in the future being always sorted on top
(and at the same time it can increase performance). This can influence
both threaded and non-threaded message views. Is this correct or am i
misunderstanding what index_sort does?
If this is correct, then we need a totally seperate setting to tell us
how a user wants to sort a threaded message list and you cant just use
index_sort for that, because they're totally different things. We need
a setting that says 'do you want to sort your threaded message roots
based on first message in the thread of the newest message in the
thread'. And both of those could theoretically be influenced again by
the index_sort option. Say you want your threads sorted on first
message, then index_sort could change which message is first. Even
messages within a thread-level could be influenced by index_sort if
you really want to go that far. I do not agree with Chris that this
is something users want to change with a button. I believe the thread-
root-sort-order (first or latest) is a personal preference that users
tend to set just once.
As another point, I do understand why Chris wants an unsorted view. In
dovecot this is really really fast, and I would also welcome such a
possibility.
Regards,
Cor _______________________________________________ List info: http://lists.roundcube.net/dev/