Roundcube Community Forum

 

Sort By Subject, Sender, or Size

Started by Emp, June 29, 2006, 02:32:53 AM

Previous topic - Next topic

Emp

Hi there,

I am trying out Roundcube, and would like to give a "thumbs up" to the developers.

One thing I noted is that the webmail is only able to sort emails by the date/time. I would appreciate if the developers could also allow the emails to be sorted by the "Sender Name", "Subject" and the "Size" of the emails.

If there is a way that it can be done through the codes, please do let me know as well.

Thank you

Regards,

Emp

trolley

You can change how they are sorted in the main.inc.php file:

// default sort col
$rcmail_config['message_sort_col'] = 'date';

I believe this is installation-wide though, and not individual user configureable. I agree that it would be nice to be able to click the column header to sort.

flosoft

Well, in the SVN release, you are able to manually sort by subject, name ....

syc

Quote from: flosoft Well, in the SVN release, you are able to manually sort by subject, name ....

I checked this in func.inc in the program/steps/mail folder and found that $IMAP->get_capability('sort') was failing.

I simply commented this call out and sorting now working.

I'll be looking at get_capability() to see what the problem is.

kali

Quote from: syc
Quote from: flosoft Well, in the SVN release, you are able to manually sort by subject, name ....

I checked this in func.inc in the program/steps/mail folder and found that $IMAP->get_capability('sort') was failing.

I simply commented this call out and sorting now working.

I'll be looking at get_capability() to see what the problem is.


Does your IMAP server have the "SORT" capability? Is that the failure - or is it that the get_capability() is not picking up the response correctly? The SORT function (server side sorting) is very powerful and really speeds things up tremendously - but not all IMAP servers support it properly.