UX: Consolidate "Admins" and "Moderators" into "Staff" on admin users

list
This commit is contained in:
Robin Ward
2014-11-26 13:10:12 -05:00
parent a3e53e0d28
commit cb124d5836
3 changed files with 4 additions and 4 deletions

View File

@ -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