diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-02 18:02:27 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-08 15:32:12 +0100 |
commit | 3833f1feb9d4760bb0e2d8ba83c06c8455516d88 (patch) | |
tree | b925586185f0d8fb6e00fee14f6c2cfe8a3eda9d /perllib/FixMyStreet/App/Controller/My.pm | |
parent | 505953fc71a6142826e1e5743a0a3dc18e306748 (diff) |
Add help text metadata facility to categories.
This is shown when reporting and in map list filters.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/My.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/My.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/My.pm b/perllib/FixMyStreet/App/Controller/My.pm index f6ba9a6ee..883ccc0ce 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' ], + columns => [ 'category', 'extra' ], distinct => 1, order_by => [ 'category' ], } )->all; |