[Tickets #12139] Re: Sort by message date broken starting with horde_imap_client 2.7.0

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Mar 27 21:24:00 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12139
------------------------------------------------------------------------------
  Ticket             | 12139
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Sort by message date broken starting with
                     | horde_imap_client 2.7.0
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2013-03-27 15:23) wrote:

> Well then I am not sure what to say.  I clearly see the sorting  
> problem in Basic mode as well as other modes.  In Basic mode, if I  
> login using horde_imap_client version after 2.6.0, the default sort  
> order is 'arrival time' which is what I want and is low overhead.

Except it's not.  That's what I fixed.  Arrival time != sequence  
numbers.  Sequence numbers is no overhead.  Arrival time MAY be less  
expensive than message date, but that depends on the IMAP  
implementation.  Sequence sort will almost certainly look like things  
are not sorted by date, since it has nothing to do with arrival time  
or display dates.

> However, if I click the 'Date' column header, the sorting is changed  
> to 'sort by message date' to my understanding.

Nope (see below).

>  Once this happens, the sorting is completely messed up.

This is most likely "arrival time" sort.  And arrival time sort is not  
going to have any bearing to the display dates.

>  If I click the 'Clear Sort' button, then from my understanding, the  
> sort is returned to 'arrival time' order and everything is OK again.

Nope.  This is sequence sort.  And sequence sort is dependent on the  
order in which an IMAP server processes the messages in a mailbox.

>  So, not sure why you said that date sort is not available in Basic mode.

You can't switch between arrival and message date in basic view.   
Clicking on the Date header is locked to whatever value the 'datesort'  
parameter is.





More information about the bugs mailing list