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/Reports.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/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 3b9ceaebc..f4da58d20 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -156,7 +156,7 @@ sub ward : Path : Args(2) { $c->stash->{stats} = $c->cobrand->get_report_stats(); my @categories = $c->stash->{body}->contacts->not_deleted->search( undef, { - columns => [ 'category' ], + columns => [ 'category', 'extra' ], distinct => 1, order_by => [ 'category' ], } )->all; |