diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-02 13:01:28 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-02 13:01:28 +0100 |
commit | 87cc39d560c5ec3d6ec6b44429b966210252fb19 (patch) | |
tree | 6600a284bdaa02e098b55eccdd685aff897eed32 /perllib/FixMyStreet/App/Controller | |
parent | ba53a2c2d8189ecaeca2c0e774c6dda54579dec9 (diff) |
do not used planned status but use new action scheduled instead
NB: planned still listed in some places to account for old reports
some test coverage improvements
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Dashboard.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Dashboard.pm b/perllib/FixMyStreet/App/Controller/Dashboard.pm index e4266dc64..11792ed9f 100644 --- a/perllib/FixMyStreet/App/Controller/Dashboard.pm +++ b/perllib/FixMyStreet/App/Controller/Dashboard.pm @@ -181,11 +181,11 @@ sub updates_search : Private { map { $_ => $counts{$_} || 0 } ('confirmed', 'investigating', 'in progress', 'closed', 'fixed - council', 'fixed - user', 'fixed', 'unconfirmed', 'hidden', - 'partial', 'planned'); + 'partial', 'action scheduled'); for my $vars ( [ 'time_to_fix', 'fixed - council' ], - [ 'time_to_mark', 'in progress', 'planned', 'investigating', 'closed' ], + [ 'time_to_mark', 'in progress', 'action scheduled', 'investigating', 'closed' ], ) { my $col = shift @$vars; my $substmt = "select min(id) from comment where me.problem_id=comment.problem_id and problem_state in ('" |