diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-06-22 21:54:18 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-06-22 21:54:18 +0000 |
| commit | ef98159d624beb6550708d940ae8b3faa857fc0b (patch) | |
| tree | b448023d01178ea9df578f847a588964e72c05cf /roundcubemail/program/steps | |
| parent | fb01631b13d669993e34ed3a48c0f3f4c88111a1 (diff) | |
Fix check in pagenav
git-svn-id: https://svn.roundcube.net/trunk@4873 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/pagenav.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/pagenav.inc b/roundcubemail/program/steps/mail/pagenav.inc index a3d3d00a3..974b3b46f 100644 --- a/roundcubemail/program/steps/mail/pagenav.inc +++ b/roundcubemail/program/steps/mail/pagenav.inc @@ -28,7 +28,7 @@ $IMAP->select_mailbox($mbox_name); // Get messages count (only messages, no threads here) $cnt = $IMAP->messagecount(NULL, 'ALL'); -if ($_SESSION['sort_col'] == 'date' && $_SESSION['sort_order'] != 'DESC' +if ($_SESSION['sort_col'] == 'date' && $_SESSION['sort_order'] == 'DESC' && empty($_REQUEST['_search']) && !$CONFIG['skip_deleted'] && !$IMAP->threading ) { // this assumes that we are sorted by date_DESC |
