Potential quick fix for leaderboard module
This commit is contained in:
parent
7cdaaf0c86
commit
c38a12d6bd
@ -22,7 +22,7 @@ class LeaderBoardModule extends Gdn_Module {
|
||||
->Join('UserPoints up', 'u.UserID = up.UserID')
|
||||
->Where('up.SlotType', $SlotType)
|
||||
->Where('up.Source', 'Total')
|
||||
->OrderBy('up.Points', 'desc')
|
||||
->OrderBy('up.TimeSlot', 'desc')
|
||||
->Limit(10, 0)
|
||||
->Get()
|
||||
->Result();
|
||||
|
Loading…
x
Reference in New Issue
Block a user