Opened 7 years ago

Closed 5 years ago

#1484001 closed Feature Patches (duplicate)

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 (1)

unreadcount.diff (759 bytes) - added by charles 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by charles

comment:1 Changed 5 years ago by seansan

  • Milestone set to 0.1.1

I think this was fixed - review in 0.1.1

comment:2 Changed 5 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

works for me in current version

comment:3 Changed 5 years ago by till

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 5 years ago by till

  • Resolution set to duplicate
  • Status changed from reopened to closed

Duplicate of #1484879

Note: See TracTickets for help on using tickets.