Order result of api/statues/friends by nickname

This commit is contained in:
fabrixxm 2017-10-24 21:29:43 +02:00
parent 0d65b3d5e2
commit a83b051003

View file

@ -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())
);