mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40: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() {
|
public function prepareInvite() {
|
||||||
$followingList = new \wcf\data\user\follow\UserFollowingList();
|
$followingList = new \wcf\data\user\follow\UserFollowingList();
|
||||||
$followingList->getConditionBuilder()->add('user_follow.userID = ?', array(WCF::getUser()->userID));
|
$followingList->getConditionBuilder()->add('user_follow.userID = ?', array(WCF::getUser()->userID));
|
||||||
|
$followingList->sqlOrderBy = 'username ASC';
|
||||||
$followingList->readObjects();
|
$followingList->readObjects();
|
||||||
$users = $followingList->getObjects();
|
$users = $followingList->getObjects();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user