diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-09-30 14:12:13 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-09-30 14:12:13 +0100 |
commit | 81f86542c4d306d89f9a3718154203b35583fee5 (patch) | |
tree | c043ddd72accf65457dbbe624aad339967f9120e /perllib/FixMyStreet/App/Controller/Reports.pm | |
parent | 85dd4e1058dd2a5c54951bd966a2625d23478155 (diff) | |
parent | ab8360f148d8d4026905ef8e10decee43bd16b4a (diff) |
Merge branch 'zurich-staging'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 8e167a70d..741cbb60f 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -705,8 +705,9 @@ sub stash_report_filter_status : Private { my @status = $c->get_param_list('status', 1); @status = ($c->stash->{page} eq 'my' ? 'all' : $c->cobrand->on_map_default_status) unless @status; - my %status = map { $_ => 1 } @status; + $c->cobrand->call_hook(hook_report_filter_status => \@status); + my %status = map { $_ => 1 } @status; my %filter_problem_states; my %filter_status; |