mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Order followed users alphabetically in invitation form
This commit is contained in:
parent
87919dd881
commit
d65595649d
@ -63,6 +63,7 @@ public function validatePrepareInvite() {
|
||||
public function prepareInvite() {
|
||||
$followingList = new \wcf\data\user\follow\UserFollowingList();
|
||||
$followingList->getConditionBuilder()->add('user_follow.userID = ?', array(WCF::getUser()->userID));
|
||||
$followingList->sqlOrderBy = 'username ASC';
|
||||
$followingList->readObjects();
|
||||
$users = $followingList->getObjects();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user