mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 13:07:59 +01:00
T357: Sort tracks by publication date rather than creation date.
This commit is contained in:
parent
29527b4c88
commit
50ca465835
2 changed files with 3 additions and 3 deletions
|
@ -136,4 +136,4 @@
|
|||
|
||||
return $query;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -180,7 +180,7 @@ angular.module('ponyfm').factory('tracks', [
|
|||
type: 'single'
|
||||
name: 'sort'
|
||||
values: [
|
||||
{title: 'Latest', query: '', isDefault: true, filter: 'order=created_at,desc'},
|
||||
{title: 'Latest', query: '', isDefault: true, filter: 'order=published_at,desc'},
|
||||
{title: 'Most Played', query: 'plays', isDefault: false, filter: 'order=play_count,desc'},
|
||||
{title: 'Most Downloaded', query: 'downloads', isDefault: false, filter: 'order=download_count,desc'},
|
||||
{title: 'Most Favourited', query: 'favourites', isDefault: false, filter: 'order=favourite_count,desc'}
|
||||
|
@ -226,4 +226,4 @@ angular.module('ponyfm').factory('tracks', [
|
|||
filterDef.promise()
|
||||
|
||||
self
|
||||
])
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue