diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-01-23 23:11:33 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-01-23 23:11:33 +0000 |
| commit | 3a705e3798db0bc645c4c7fee75cc75172ce6ac8 (patch) | |
| tree | aa101bfd808e5abf7445305fbc73d42b348a2b61 /roundcubemail/program/steps/mail | |
| parent | 449d6a0f71f76f3fb8a994ec05a9d513b284f9fb (diff) | |
Solved some sorting problems
git-svn-id: https://svn.roundcube.net/trunk@120 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
| -rw-r--r-- | roundcubemail/program/steps/mail/list.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/list.inc b/roundcubemail/program/steps/mail/list.inc index cb1d7a6c7..391c05b73 100644 --- a/roundcubemail/program/steps/mail/list.inc +++ b/roundcubemail/program/steps/mail/list.inc @@ -24,9 +24,10 @@ $OUTPUT_TYPE = 'js'; $unseen = $IMAP->messagecount($mbox, 'UNSEEN', !empty($_GET['_refresh']) ? TRUE : FALSE); $count = $IMAP->messagecount(); +$sort = isset($_GET['_sort']) ? $_GET['_sort'] : false; // is there a sort type for this request? -if ($sort = isset($_GET['_sort']) ? $_GET['_sort'] : false) +if ($sort) { // yes, so set the sort vars list($sort_col, $sort_order) = explode('_', $sort); |
