From: fabrixxm Date: Tue, 24 Oct 2017 19:29:43 +0000 (+0200) Subject: Order result of api/statues/friends by nickname X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a83b051003d3d3b58dbf9cbcacdb40320e3b7ed4;p=friendica.git Order result of api/statues/friends by nickname --- diff --git a/include/api.php b/include/api.php index bd579bf19a..d1ec25eabe 100644 --- a/include/api.php +++ b/include/api.php @@ -2880,7 +2880,7 @@ $called_api = null; $sql_extra = " AND false "; } - $r = q("SELECT `nurl` FROM `contact` WHERE `uid` = %d AND NOT `self` AND (NOT `blocked` OR `pending`) $sql_extra", + $r = q("SELECT `nurl` FROM `contact` WHERE `uid` = %d AND NOT `self` AND (NOT `blocked` OR `pending`) $sql_extra ORDER BY `nick`", intval(api_user()) );