mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
order group member by username, bump up max count to 200 for now
This commit is contained in:
@ -11,7 +11,7 @@ class Admin::GroupsController < Admin::AdminController
|
|||||||
|
|
||||||
def users
|
def users
|
||||||
group = Group.find(params[:group_id].to_i)
|
group = Group.find(params[:group_id].to_i)
|
||||||
render_serialized(group.users.limit(100).to_a, BasicUserSerializer)
|
render_serialized(group.users.order('username_lower asc').limit(200).to_a, BasicUserSerializer)
|
||||||
end
|
end
|
||||||
|
|
||||||
def update
|
def update
|
||||||
|
Reference in New Issue
Block a user