Fixed regression in all time leaderboard
This commit is contained in:
parent
dd58bfb5d8
commit
1084e220cb
@ -22,6 +22,7 @@ class LeaderBoardModule extends Gdn_Module {
|
||||
->Join('UserPoints up', 'u.UserID = up.UserID')
|
||||
->Where('up.SlotType', $SlotType)
|
||||
->Where('up.TimeSlot', gmdate('Y-m-d', Gdn_Statistics::TimeSlotStamp($SlotType)))
|
||||
->Where('up.Source', 'Total')
|
||||
->OrderBy('up.Points', 'desc')
|
||||
->Limit(10, 0)
|
||||
->Get()
|
||||
|
Loading…
x
Reference in New Issue
Block a user