aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Open311.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-07-14 16:25:31 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-07-14 16:25:31 +0100
commit8c3f0fbfb4bcd33fa8dbc93c2ecb8e0f25ebf383 (patch)
tree0b596b32bc9248d10e6f4409e39d3285e957d40a /perllib/FixMyStreet/App/Controller/Open311.pm
parent298db521933eb65591fafa218e78f5f4cdb547ad (diff)
parent426bc926a422af21ff39cebed836d34e46238500 (diff)
Merge branch 'issues/forcouncils/192-unused-categories'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Open311.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Open311.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Open311.pm b/perllib/FixMyStreet/App/Controller/Open311.pm
index 6829e01ae..a5f4a53e7 100644
--- a/perllib/FixMyStreet/App/Controller/Open311.pm
+++ b/perllib/FixMyStreet/App/Controller/Open311.pm
@@ -160,7 +160,7 @@ sub get_services : Private {
my $lon = $c->get_param('long') || '';
# Look up categories for this council or councils
- my $categories = $c->model('DB::Contact')->not_deleted;
+ my $categories = $c->model('DB::Contact')->active;
if ($lat || $lon) {
my $area_types = $c->cobrand->area_types;