Sort users in group box by name. Thanks edisonnews! Fixes #1662.

This commit is contained in:
Bharat Mediratta
2011-03-27 11:49:36 -07:00
parent ab6050b020
commit 87ce71eb90

View File

@@ -17,7 +17,7 @@
<? if ($group->users->count_all() > 0): ?>
<ul class="g-member-list">
<? foreach ($group->users->find_all() as $i => $user): ?>
<? foreach ($group->users->order_by("name", "ASC")->find_all() as $i => $user): ?>
<li class="g-user">
<?= html::clean($user->name) ?>
<? if (!$group->special): ?>