mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
Banned users are not returned as pending review users
This commit is contained in:
@ -30,7 +30,7 @@ class AdminUserIndexQuery
|
||||
when 'moderators' then @query.where('moderator = ?', true)
|
||||
when 'blocked' then @query.blocked
|
||||
when 'banned' then @query.banned
|
||||
when 'pending' then @query.where('approved = false')
|
||||
when 'pending' then @query.not_banned.where('approved = false')
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user