aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2020-09-11 13:28:03 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-10-14 09:22:32 +0100
commitae686e9f8f16841d2cfcf00dd674503756d69536 (patch)
tree800c29ed77dfffd384c9d6581dd408cb31da150f /perllib
parent0188e23f792446926eda1eaadf0dc5d1ad08594e (diff)
[TfL] Update which states are enabled.
Re-enable action scheduled, and disable investigating. Action scheduled is going to be used to mark reports which should be automatically closed, and they do not wish to use the investigating state.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/TfL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/TfL.pm b/perllib/FixMyStreet/Cobrand/TfL.pm
index 6bc516366..9cf8910f9 100644
--- a/perllib/FixMyStreet/Cobrand/TfL.pm
+++ b/perllib/FixMyStreet/Cobrand/TfL.pm
@@ -209,7 +209,7 @@ sub around_nearby_filter {
sub state_groups_inspect {
my $rs = FixMyStreet::DB->resultset("State");
- my @open = grep { $_ !~ /^(planned|action scheduled|for triage)$/ } FixMyStreet::DB::Result::Problem->open_states;
+ my @open = grep { $_ !~ /^(planned|investigating|for triage)$/ } FixMyStreet::DB::Result::Problem->open_states;
my @closed = grep { $_ ne 'closed' } FixMyStreet::DB::Result::Problem->closed_states;
[
[ $rs->display('confirmed'), \@open ],