From 8c531ad1777beadd6933605e7630ca2681001fb3 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Thu, 24 Jan 2013 20:52:29 -0600 Subject: Challenges are now displayed in the correct order again. Ay' carumba. --- includes/datas.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/datas.php b/includes/datas.php index 41456a1..62f664e 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -1076,7 +1076,8 @@ function loadChallengeListing($userIdUnsanitized) $userID = mysql_escape_string($userIdUnsanitized); $sql = " SELECT maps.ID AS mapID, maps.challengeTier, maps.name AS name, - challengeSolutions.dateSolved, challengeSolutions.challengeID AS challengeID + challengeSolutions.dateSolved, challengeSolutions.challengeID AS challengeID, + maps.challengeSuborder, challenges.ordering FROM challenges LEFT JOIN maps ON challenges.mapID = maps.ID LEFT JOIN challengeSolutions ON challenges.ID = challengeSolutions.challengeID AND challengeSolutions.userID = '$userID' -- cgit v1.2.3