diff options
| author | thomascube <thomas@roundcube.net> | 2011-06-22 21:54:18 +0000 |
|---|---|---|
| committer | thomascube <thomas@roundcube.net> | 2011-06-22 21:54:18 +0000 |
| commit | 86a025f5042d22e624767e142bfb9e2152fdb41e (patch) | |
| tree | 81efbeba974ef7dee9a0a6935c370159af8b57b5 /program | |
| parent | 06c01d172009eebe253c59673d25bc6f3595b15a (diff) | |
Fix check in pagenav
Diffstat (limited to 'program')
| -rw-r--r-- | program/steps/mail/pagenav.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/pagenav.inc b/program/steps/mail/pagenav.inc index a3d3d00a3..974b3b46f 100644 --- a/program/steps/mail/pagenav.inc +++ b/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 |
