From 79a0129e6d1161c98411fdfe458c9cc27661e01a Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Thu, 31 Dec 2015 04:20:04 -0800 Subject: [PATCH] Reversed the order that the top X tracks show up in. --- app/Track.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Track.php b/app/Track.php index acc49bb3..c84f68ce 100644 --- a/app/Track.php +++ b/app/Track.php @@ -238,6 +238,10 @@ class Track extends Model $processed[] = Track::mapPublicTrackSummary($track); } + // Songs that get played more should drop down + // in the list so they don't hog the top spots. + array_reverse($processed); + return $processed; }