From a83b051003d3d3b58dbf9cbcacdb40320e3b7ed4 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 24 Oct 2017 21:29:43 +0200 Subject: [PATCH] Order result of api/statues/friends by nickname --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index bd579bf19..d1ec25eab 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()) );