Merge rPF50ca46583558: T357: Sort tracks by publication date rather than creation date.

This commit is contained in:
Kelvin Zhang 2015-09-10 12:49:01 +01:00
parent 843eb4351a
commit 8088b66b8e

View file

@ -180,7 +180,7 @@ angular.module('ponyfm').factory('tracks', [
type: 'single' type: 'single'
name: 'sort' name: 'sort'
values: [ 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 Played', query: 'plays', isDefault: false, filter: 'order=play_count,desc'},
{title: 'Most Downloaded', query: 'downloads', isDefault: false, filter: 'order=download_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'} {title: 'Most Favourited', query: 'favourites', isDefault: false, filter: 'order=favourite_count,desc'}