mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Reversed the order that the top X tracks show up in.
This commit is contained in:
parent
3b1fa792cf
commit
79a0129e6d
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue