Ticket #1484001 (closed Patches: duplicate)

Opened 4 years ago

Last modified 2 years ago

Incorrect Unread Messages Count

Reported by: charles Owned by:
Priority: 6 Milestone: 0.1.1
Component: PHP backend Version: 0.1-beta2
Severity: normal Keywords:
Cc:

Description

In the list of folders on the left of the display, created by rcmail_render_folder_tree_html(), the unread message count for each mailbox is displayed in brackets after the mailbox name. However, the number is currently incorrect. Line 201 of func.inc reads:

if ($unread_count = $IMAP->messagecount($folderid?, 'RECENT', ($folderid?==$mbox_name)))

But it ought to read:

if ($unread_count = $IMAP->messagecount($folderid?, 'UNSEEN', ($folderid?==$mbox_name)))

We want the unseen count, not the recent count.

Attachments

unreadcount.diff (0.7 KB) - added by charles 4 years ago.

Change History

Changed 4 years ago by charles

Changed 2 years ago by seansan

  • milestone set to 0.1.1

I think this was fixed - review in 0.1.1

Changed 2 years ago by alec

  • status changed from new to closed
  • resolution set to fixed

works for me in current version

Changed 2 years ago by till

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 2 years ago by till

  • status changed from reopened to closed
  • resolution set to duplicate

Duplicate of #1484879

Note: See TracTickets for help on using tickets.