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
Created attachment 372983 [details] [diff] [review] fix review count 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
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
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.