diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-29 13:58:44 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-30 09:56:26 +0100 |
commit | ff0715db2d67bbf043a851ce7d9bed7e857c2db2 (patch) | |
tree | c09d569aec0efbcc18d27b1aec4dc453df251e68 /perllib/FixMyStreet | |
parent | f5b647053043afe0de18db327ea9ae4b6665daf2 (diff) |
[Buckinghamshire] Include Car parking category.
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Buckinghamshire.pm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm index f2467d248..8e463c688 100644 --- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm +++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm @@ -455,9 +455,15 @@ sub get_geocoder { 'OSM' } sub categories_restriction { my ($self, $rs) = @_; - # Buckinghamshire is a two-tier council, but only want to display + # Buckinghamshire is a two-tier council, but mostly want to display # county-level categories on their cobrand. - return $rs->search( [ { 'body_areas.area_id' => 2217 }, { category => 'Flytipping' } ], { join => { body => 'body_areas' } }); + return $rs->search( + [ + { 'body_areas.area_id' => 2217 }, + { category => [ 'Flytipping', 'Car Parks' ] }, + ], + { join => { body => 'body_areas' } } + ); } sub lookup_site_code_config { { |