diff options
author | cash <cash.costello@gmail.com> | 2013-07-05 21:36:20 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-07-05 21:36:20 -0400 |
commit | 25929426871cc09d81b0612b239e9ea025bc808c (patch) | |
tree | 328d106c31d1815a69ee9a72842ce913eeb3b0b7 /mod | |
parent | c301e22224db8b064c1de68799b8e49cc1259e2e (diff) | |
download | elgg-25929426871cc09d81b0612b239e9ea025bc808c.tar.gz elgg-25929426871cc09d81b0612b239e9ea025bc808c.tar.bz2 |
Fixes #5613 group member list alphabetical
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/lib/groups.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php index e5b047eba..77d7c09cc 100644 --- a/mod/groups/lib/groups.php +++ b/mod/groups/lib/groups.php @@ -366,12 +366,15 @@ function groups_handle_members_page($guid) { elgg_push_breadcrumb($group->name, $group->getURL()); elgg_push_breadcrumb(elgg_echo('groups:members')); + $db_prefix = elgg_get_config('dbprefix'); $content = elgg_list_entities_from_relationship(array( 'relationship' => 'member', 'relationship_guid' => $group->guid, 'inverse_relationship' => true, 'type' => 'user', 'limit' => 20, + 'joins' => array("JOIN {$db_prefix}users_entity u ON e.guid=u.guid"), + 'order_by' => 'u.name ASC', )); $params = array( |