Skip to content

Commit c75bb56

Browse files
committed
Sort crates within a category by downloads by default
There will be an RFC soon about whether this is the best ordering or not.
1 parent a2531d4 commit c75bb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/category/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default Ember.Controller.extend(PaginationMixin, {
77
queryParams: ['page', 'per_page', 'sort'],
88
page: '1',
99
per_page: 10,
10-
sort: 'alpha',
10+
sort: 'downloads',
1111

1212
totalItems: computed.readOnly('model.meta.total'),
1313

0 commit comments

Comments
 (0)