From c38a12d6bd3142e19c7477b3835712abd18e9699 Mon Sep 17 00:00:00 2001 From: Zachary Doll Date: Mon, 2 Dec 2013 16:51:18 -0600 Subject: [PATCH] Potential quick fix for leaderboard module --- modules/class.leaderboardmodule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/class.leaderboardmodule.php b/modules/class.leaderboardmodule.php index 4e950cd..fd4aa42 100755 --- a/modules/class.leaderboardmodule.php +++ b/modules/class.leaderboardmodule.php @@ -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();