3270: ReviewRequestStatusesWidget reports misleading statistic for "D"

thom.******@gmai***** (Google Code) (Is this you? Claim this profile.)
david
david
March 1, 2014
What version are you running?

2.0beta4/master


What's the URL of the page containing the problem?

/admin/

What steps will reproduce the problem?

Load the admin page. Look at the Request Statuses.

What is the expected output? What do you see instead?

Request Statuses lists: "Pending" "Drafts" and "Submit", showing statistics of ReviewRequest objects in "P", "D", and "S" respectively.

Per ReviewRequest.STATUSES, "D" is _('Discarded'), not "draft"

The admin page should use these localized ReviewRequest.STATUSES if they're displaying stats for "Pending Review", "Submitted", and "Discarded".

If it is intending to count things that are in draft state, it needs a new calculation.

What operating system are you using? What browser?

All of them.

Please provide any additional information below.
david
#1 david
  • +PendingReview
  • +Component-Admin
  • +david
david
#2 david
Fixed in release-1.7.x (76e0b1c). Thanks!
  • -PendingReview
    +Fixed