diff options
author | thomascube <thomas@roundcube.net> | 2007-11-25 20:40:10 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-11-25 20:40:10 +0000 |
commit | 11074801923807a9448f7427299ddba76e235e42 (patch) | |
tree | e674b11f1ead956a19b3eba3c132b5e0442fd53d /program/steps/mail/list.inc | |
parent | d5342aabcfeddb959cc286befe6de5bf35fe9d76 (diff) |
Only show new messages if they match the current search (#1484176)
Diffstat (limited to 'program/steps/mail/list.inc')
-rw-r--r-- | program/steps/mail/list.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc index 196144285..8caf4c06f 100644 --- a/program/steps/mail/list.inc +++ b/program/steps/mail/list.inc @@ -40,9 +40,10 @@ else $mbox_name = $IMAP->get_mailbox_name(); // fetch message headers -if ($count = $IMAP->messagecount($mbox_name, 'ALL', !empty($_REQUEST['_refresh']))) +if ($IMAP->messagecount($mbox_name, 'ALL', !empty($_REQUEST['_refresh']))) $a_headers = $IMAP->list_headers($mbox_name, NULL, $sort_col, $sort_order); +$count = $IMAP->messagecount($mbox_name); $unseen = $IMAP->messagecount($mbox_name, 'UNSEEN', !empty($_REQUEST['_refresh'])); // update message count display |