diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-26 13:05:29 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-26 13:05:29 +0100 |
commit | 3806b6b39ace2d38c264615eb95370a303ede34c (patch) | |
tree | 4da84289e6053c1e7059d67f71a0ba1511c16637 /perllib/FixMyStreet/App/Controller/Reports.pm | |
parent | 56dca800a946f8cef66e9839590c5a9f37cad12f (diff) | |
parent | 41a5f14388e92fa9dbbb5dc3a72d9ad83291eeb4 (diff) |
Merge branch 'collideoscope-anew'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 037458538..20381bb85 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -93,6 +93,7 @@ sub index : Path : Args(0) { } } else { my @bodies = $c->model('DB::Body')->active->translated->with_area_count->all_sorted; + @bodies = @{$c->cobrand->call_hook('reports_hook_restrict_bodies_list', \@bodies) || \@bodies }; $c->stash->{bodies} = \@bodies; } |