Merge pull request #3823 from fabrixxm/feature/api/friends_order
Order result of api/statues/friends by nickname
This commit is contained in:
commit
dbb5df7f7d
|
@ -2880,7 +2880,7 @@ $called_api = null;
|
||||||
$sql_extra = " AND false ";
|
$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())
|
intval(api_user())
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user