diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-12-13 12:15:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-13 12:15:10 +0100 |
commit | 20a6584d2dd9d5ecaa19a45a0c0c5ffec5a100ff (patch) | |
tree | 8dbe43ca20808569cadee37ad09d204caa786874 /app/models | |
parent | 155e211dd035992432623a33b809578f8315395f (diff) |
Clean up admin UI for accounts (#6004)
* Add staff filter to admin UI for accounts, remove obsolete columns * Only display OStatus section in admin UI for accounts when OStatus data
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/account_filter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/account_filter.rb b/app/models/account_filter.rb index 189872368..dc7a03039 100644 --- a/app/models/account_filter.rb +++ b/app/models/account_filter.rb @@ -45,6 +45,8 @@ class AccountFilter else Account.default_scoped end + when 'staff' + accounts_with_users.merge User.staff else raise "Unknown filter: #{key}" end |