From 8752b718e3fc442bcf50ecbcc91a580d41357885 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Tue, 29 Oct 2013 18:13:00 +0100 Subject: [PATCH] [FIX] Sort by donation amount not username --- public/include/classes/transaction.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/include/classes/transaction.class.php b/public/include/classes/transaction.class.php index 6d7beb4b..41510ba1 100644 --- a/public/include/classes/transaction.class.php +++ b/public/include/classes/transaction.class.php @@ -216,6 +216,7 @@ class Transaction extends Base { t.type = 'Donation_PPS' ) GROUP BY a.username + ORDER BY donation DESC "); if ($this->checkStmt($stmt) && $stmt->execute() && $result = $stmt->get_result()) return $result->fetch_all(MYSQLI_ASSOC);