mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Consolidate "Admins" and "Moderators" into "Staff" on admin users
list
This commit is contained in:
@@ -49,6 +49,7 @@ class AdminUserIndexQuery
|
||||
|
||||
def filter_by_query_classification
|
||||
case params[:query]
|
||||
when 'staff' then @query.where("admin or moderator")
|
||||
when 'admins' then @query.where(admin: true)
|
||||
when 'moderators' then @query.where(moderator: true)
|
||||
when 'blocked' then @query.blocked
|
||||
|
||||
Reference in New Issue
Block a user