Closed Bug 488319 Opened 15 years ago Closed 15 years ago

Review-count mismatch between search results page, details page, and review page

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: clouserw)

References

()

Details

Attachments

(1 file)

Steps to reproduce:
1.Go to https://preview.addons.mozilla.org/en-US/firefox/search?q=stephen3000!!!&cat=all
2.Notice the number of reviews(7)
3.Click on the add-on to visit the details page.
4.Notice the number of reviews here(1)
5.Notice the number of reviews listed besides "see all reviews" list.
6.Click on the link and notice the actual number of reviews present.

observed behavior:
There are 7 reviews for this add-on but the count in details page shows only one.

additional info:
This is a very old bug which has resurfaced.Refer  Bug 428118.

screencast:
http://screencast.com/t/5nSJMYPF
Attached patch fix review countSplinter Review
This was using a function that only counted reviews by distinct users which was made for the editors cp.  This switches the code to use the totalreviews count.
Assignee: nobody → clouserw
Attachment #372983 - Flags: review?(fwenzel)
Comment on attachment 372983 [details] [diff] [review]
fix review count

That's good -- and also more friendly on the DB.
Attachment #372983 - Flags: review?(fwenzel) → review+
OS: Windows XP → All
Hardware: x86 → All
Target Milestone: --- → 5.0.5
Summary: review count mismatch between search results page,details page,and review page → Review-count mismatch between search results page, details page, and review page
r24491
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: