From 8088b66b8e21ac8000dca61dc43eedf84d6b7e5f Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Thu, 10 Sep 2015 12:49:01 +0100 Subject: [PATCH] Merge rPF50ca46583558: T357: Sort tracks by publication date rather than creation date. --- resources/assets/scripts/app/services/tracks.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/scripts/app/services/tracks.coffee b/resources/assets/scripts/app/services/tracks.coffee index a30e212e..ddb1d252 100644 --- a/resources/assets/scripts/app/services/tracks.coffee +++ b/resources/assets/scripts/app/services/tracks.coffee @@ -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'}