aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-07-09 09:27:19 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-07-09 11:03:23 +0100
commitf3c62e722f49b47d1a78b437320b8ac334f446d6 (patch)
tree789a439a298fd27361ca77109e62872f845a4835 /perllib
parent684107cb41590554ba9b3e6b2f3520b4a64de421 (diff)
Do not fetch problem extra on /my.
The code thought it was fetching the category extra, which it is not.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App/Controller/My.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/My.pm b/perllib/FixMyStreet/App/Controller/My.pm
index 883ccc0ce..f6ba9a6ee 100644
--- a/perllib/FixMyStreet/App/Controller/My.pm
+++ b/perllib/FixMyStreet/App/Controller/My.pm
@@ -159,7 +159,7 @@ sub setup_page_data : Private {
my @categories = $c->stash->{problems_rs}->search({
state => [ FixMyStreet::DB::Result::Problem->visible_states() ],
}, {
- columns => [ 'category', 'extra' ],
+ columns => [ 'category' ],
distinct => 1,
order_by => [ 'category' ],
} )->all;