diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-18 13:36:18 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-18 19:36:18 +0200 |
commit | 66d8f99a30f9e6062f1bff37d5115beddce9b55d (patch) | |
tree | 5f7c752043054bc86fb57faa89332660688044bc /app/helpers | |
parent | f23281e31ead38a1cabbb73f0dbb8b36cb38cadb (diff) |
Admin reports with accounts (#2092)
* Add a ReportFilter class * Add reports and targeted_reports relationships to Account * Use ReportFilter from admin/reports controller * Link to admin/reports filtered views from admin account show view * Add indexes to reports.account_id and reports.target_account_id
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/admin/filter_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/admin/filter_helper.rb b/app/helpers/admin/filter_helper.rb index 591056dd7..5080e6350 100644 --- a/app/helpers/admin/filter_helper.rb +++ b/app/helpers/admin/filter_helper.rb @@ -2,7 +2,7 @@ module Admin::FilterHelper ACCOUNT_FILTERS = %i[local remote by_domain silenced suspended recent].freeze - REPORT_FILTERS = %i[resolved].freeze + REPORT_FILTERS = %i[resolved account_id target_account_id].freeze FILTERS = ACCOUNT_FILTERS + REPORT_FILTERS |