From: Michael Date: Sat, 6 May 2017 12:46:31 +0000 (+0000) Subject: DESC should be ASC - this is more logically. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8dd8936dd064344db355eb7b06e0af3bc0b0890f;p=friendica.git DESC should be ASC - this is more logically. --- 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."`, "; }