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

VERIFIED FIXED in 5.0.5

Status

addons.mozilla.org Graveyard
Public Pages
VERIFIED FIXED
9 years ago
3 years ago

People

(Reporter: krupa, Assigned: clouserw)

Tracking

unspecified
5.0.5

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
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
(Assignee)

Comment 1

9 years ago
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+

Updated

9 years ago
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
(Assignee)

Comment 3

9 years ago
r24491
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Reporter)

Comment 4

9 years ago
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.