diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-16 16:46:04 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-16 16:46:04 +0100 |
commit | c35ef08e4f6f51874d1ce46dce3b4895dca6fe54 (patch) | |
tree | 0f645f0747be9acaa7254e8640e904199ef82742 /perllib/FixMyStreet/App/Controller/Reports.pm | |
parent | 08bda4c3a6ef4e55bce01a3fa004021679b141f5 (diff) |
stop using hard coded names for fixed/visible states ( work in progress )
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 e1983c855..3f7bd268f 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -256,7 +256,7 @@ sub load_and_group_problems : Private { my ( $self, $c ) = @_; my $where = { - state => [ 'confirmed', 'fixed' ] + state => [ FixMyStreet::DB::Result::Problem->visible_states() ] }; my @extra_cols = (); if ($c->stash->{ward}) { |