mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-29 22:37:46 +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);
|
$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;
|
return $processed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue