Closed
Bug 370494
Opened 19 years ago
Closed 19 years ago
Allow viewing addons ordered by their rating, popularity etc.
Categories
(addons.mozilla.org Graveyard :: Administration, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: alex, Unassigned)
References
Details
Attachments
(3 files)
|
43.75 KB,
image/png
|
Details | |
|
4.43 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.90 KB,
patch
|
Details | Diff | Splinter Review |
Currently, remora shows add-ons sorted by name, and there isn't an options for users to view add-ons by most-popular, top rated, newest and so on.
There is a huge number of addons overall and in each category, so viewing them ordered alphabetically isn't very useful. Think of YouTube or Flickr with videos/photos ordered alphabetically.
Proposal:
1. Change default sorting to 'most popular'
2. Allow users to change the sorting to 'top rated', 'most recent', 'by name'
3. Allow users to see clearly what the current sorting is
| Reporter | ||
Comment 1•19 years ago
|
||
Updated•19 years ago
|
Severity: normal → enhancement
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Updated•19 years ago
|
Status: ASSIGNED → NEW
| Reporter | ||
Comment 2•19 years ago
|
||
This patch allows sorting through URLs such as:
http://addons.mozilla.org/en-US/firefox/browse/type:1/cat:all
http://addons.mozilla.org/en-US/firefox/browse/type:1/cat:all/sort:popular
http://addons.mozilla.org/en-US/firefox/browse/type:1/cat:all/sort:newest
http://addons.mozilla.org/en-US/firefox/browse/type:1/cat:all/sort:toprated
http://addons.mozilla.org/en-US/firefox/browse/type:1/cat:all/sort:name
Attachment #255209 -
Flags: first-review?(fwenzel)
Comment 3•19 years ago
|
||
Comment on attachment 255209 [details] [diff] [review]
Sort implementation in Addons controller
Please add tests for this before requesting review of the patch.
Attachment #255209 -
Flags: first-review?(fwenzel)
| Reporter | ||
Comment 4•19 years ago
|
||
(In reply to comment #3)
> Please add tests for this before requesting review of the patch.
Will do, wasn't sure what the procedure was...
| Reporter | ||
Comment 5•19 years ago
|
||
Attaching a unit-test for the new sorting code.
Currently, the test uses the 3 addons in the sample DB.
We can add more sample addons (about 20?) and update the $all_expected_results array in the test accordingly.
Comment 6•19 years ago
|
||
Alright, I added the addon sort order and RSS feeds in SVN r2451. It'll be on stage shortly, and on preview when it is published the next time.
Alex, thanks for your help. While I did not just apply your patches (we are not juggling with as many big arrays anymore, instead we have SQL do the work as it is supposed to be ;)), I for example almost literally used your unit test. Well done.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Component: Add-ons → Administration
QA Contact: add-ons → administration
| Assignee | ||
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•