about summary refs log tree commit diff
path: root/app/models/account_filter.rb
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2022-12-16 01:30:47 +0900
committerGitHub <noreply@github.com>2022-12-15 17:30:47 +0100
commit3656a6b9cc353f7f08a2d8f00c1b3f2fd8e3fb21 (patch)
treecb73c07788d7d989117024e1eecf08a8bb36fb08 /app/models/account_filter.rb
parentcedf1383138b2e58ba6ff9aab46beddeaf1a1354 (diff)
Add "disabled" user filter for admin/accounts UI (#21282)
Diffstat (limited to 'app/models/account_filter.rb')
-rw-r--r--app/models/account_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account_filter.rb b/app/models/account_filter.rb
index 3a4ac0492..d27bb46fc 100644
--- a/app/models/account_filter.rb
+++ b/app/models/account_filter.rb
@@ -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'