Mojo Jojo wrote:
> Any advice before I attempt this?

Sorting relies on the IMAP server because it takes way too long to fetch
all headers from the server when accessing a mailbox that contains about
100K messages. But you expect to get the right 50 messages from that
folder when sorting. Client-side sorting would mean to transfer 100K
headers from the IMAP server through the RC server to the client which
will surely break down under this heavy load.

This is the reason why client-side sorting is not on the road map and it
will never be. We could talk about loading all messages into the cache
and enable sorting when the message cache is complete. If you consider
writing a patch solving your problem you should think into that direction.
> 
> Is it something that will be tough? Is this why it's not on the roadmap
> or just something most people don't need?
> 
> Since I have not dug into the code much yet, if anyone has any helpful
> info on where I should start it would be appreciated.
> 
> Finally, can someone tell me what the purpose of the sort options in the
> roundcube conf file if RC doesn't do client side sorting? Just a little
> confused I guess.

The default configuration of RoundCube does not know if your IMAP server
supports sorting and that's the reason why those parameters are there!
They are not meant to control any client-side sorting but define which
cols should become clickable if sorting is supported.
> 
> Thanks..
> 
> Todd

Regards,
Thomas

> ----- Original Message ----- From: "Chris Fordham" <[EMAIL PROTECTED]>
> To: "Mojo Jojo" <[EMAIL PROTECTED]>; "RoundCube Dev"
> <[email protected]>
> Sent: Tuesday, February 14, 2006 10:37 PM
> Subject: Re: [RoundCube Dev] Sorting
> 
> 
>> Well client-side sorting is not on the roadmap and no one has offered
>> to dev except for yourself... ... feel free to submit a patch.
>>
>> On Wed, 15 Feb 2006 14:23:46 +1000, Mojo Jojo
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Any thoughts on this? I really want to use RoundCube but can't
>>> without proper sorting.
>>>
>>> Seems odd that it must rely on the IMAP server to sort, why not just
>>> sort based on the date in the email headers..
>>>
>>> Can someone explain to me why my IMAP server must support SORT in
>>> order for the sorting to work?
>>>
>>> I guess I don't get why RoundCube can't sort by date.
>>>
>>> I am ready to dig into the code and write the changes myself if I can
>>> just get a little guidance or advice.
>>>
>>> Thanks..
>>>



Reply via email to