From 8dd8936dd064344db355eb7b06e0af3bc0b0890f Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 6 May 2017 12:46:31 +0000 Subject: [PATCH] DESC should be ASC - this is more logically. --- include/dba.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dba.php b/include/dba.php index bdfe88510f..0072660929 100644 --- a/include/dba.php +++ b/include/dba.php @@ -1058,7 +1058,7 @@ class dba { $param_string .= " ORDER BY "; foreach ($params['order'] AS $fields => $order) { if (!is_int($fields)) { - $param_string .= "`".$fields."` ".($order ? "ASC" : "DESC").", "; + $param_string .= "`".$fields."` ".($order ? "DESC" : "ASC").", "; } else { $param_string .= "`".$order."`, "; }