0
0
Fork 0

Add "disabled" user filter for admin/accounts UI (#21282)

This commit is contained in:
Jeong Arm 2022-12-16 01:30:47 +09:00 committed by GitHub
parent cedf138313
commit 3656a6b9cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ class AccountFilter
when 'suspended'
Account.suspended
when 'disabled'
accounts_with_users.merge(User.disabled)
accounts_with_users.merge(User.disabled).without_suspended
when 'silenced'
Account.silenced
when 'sensitized'