Wrong sorting - please help me debug this

Mark Edwards mark at antsclimbtree.com
Mon Jul 24 18:49:23 CEST 2006


On Jul 24, 2006, at 9:17 AM, Jim Pingle wrote:

> There appears to be support for a similar option in the code for  
> roundcube
> (in imap.inc), but I see no method for a user/admin to set it. In
> rcube_imap.inc it's explicitly set off, but at the start of  
> imap.inc it is
> set on. It tests to see if IMAP_USE_HEADER_DATE is false which it  
> always
> will be as I can't find any other reference to the variable it's  
> testing for
> anywhere in the code.
>
> As an experiment you could try commenting out line 57 in program/ 
> lib/imap.inc:
> if (!$IMAP_USE_HEADER_DATE) $IMAP_USE_INTERNAL_DATE = true;
>
> Alternately, change that so it's set to false instead of true.
>
> If it alters the sorting behavior for you, we may have found the  
> culprit...

Unfortunately, that did nothing.  :-(

Squirrelmail get the sort right on this particular mailbox, whether  
server-side sorting is enabled or not.  Roundcube puts a bunch of old  
mails out of order at the top of the box.

--
Mark Edwards






More information about the Dev mailing list