Sort by Star Rating is not correctly working

RESOLVED INVALID

Status

addons.mozilla.org Graveyard
Search
RESOLVED INVALID
8 years ago
2 years ago

People

(Reporter: Pratibha, Assigned: davedash)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7

Sort by Rating (stars) is not correctly working

Reproducible: Always

Steps to Reproduce:
1. Login to http://preview.addons.mozilla.org
2. Search for Field: Blank, Select Category = Privacy & Security
3. Click on "Go" button
4. Select Sort By = Rating
5. Navigate through some pages
In my case the URL: https://preview.addons.mozilla.org/en-US/firefox/search?sort=averagerating&q=&appid=1&cat=1,12&tag=&atype=-1&pid=5&lup=&lver=3.5&pp=20&show=20&page=11
Actual Results:  
Result page is not sorted by rating correctly
ie. CookieCuller (With 5 stars) is displyed first, then
Gmail S/MIME (with 4 stars) is displayed later


Expected Results:  
Sort functions correctly
(Reporter)

Comment 1

8 years ago
a small correction:
In the link: (sort by Rating):
https://preview.addons.mozilla.org/en-US/firefox/search?sort=averagerating&q=&appid=1&cat=1,12&tag=&atype=-1&pid=5&lup=&lver=3.5&pp=20&show=20&page=11

-First "Domain Details" (with 4 star rating) is displayed
-Second "CookieCuller" (with 5 star rating) is displayed
-Then "Gmail S/MIME" (with 4 stars)
(Reporter)

Comment 2

8 years ago
Created attachment 424208 [details]
image highlights the problem noticed while sort by rating is selected

Updated

8 years ago
Assignee: nobody → dd
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 3

8 years ago
STR:
1.In the advanced search,select app=Firefox,version=3.6,platform=MACOSX and sort by=rating
2.Hit Search

observed behavior:
Addons are not sorted in descending order of rating

URL:https://preview.addons.mozilla.org/en-US/firefox/search?q=&cat=all&advancedsearch=1&as=1&appid=1&lver=3.6&atype=0&pp=20&pid=3&sort=averagerating&lup=
(Reporter)

Comment 4

8 years ago
https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:72?sort=averagerating&show=20&page=16

Addons are not sorted according to rating:
Homeland Security Threat Level  - with 2 star rating is displayed before
PDF Download - with 3 stars
The algorithm for sorting (bug 477343) takes into account more than just average rating.  This is working as expected.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.