aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2019-10-03 14:23:16 +0100
committerStruan Donald <struan@exo.org.uk>2019-10-03 14:23:58 +0100
commitd1931a0615378a9bb28c76c39191f8d842ac9fc3 (patch)
treefa8931a431427b8e2b40744943ec0e0bf6c8ba82
parent83daf38ae088e79938950e36f1e5c1848877f175 (diff)
[Northamptonshire] update default status for one off update
Completed reports default to closed, not in progress
-rwxr-xr-xbin/fixmystreet.com/one-off-status-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fixmystreet.com/one-off-status-update b/bin/fixmystreet.com/one-off-status-update
index 5a3af226a..0e17d14b2 100755
--- a/bin/fixmystreet.com/one-off-status-update
+++ b/bin/fixmystreet.com/one-off-status-update
@@ -164,7 +164,7 @@ sub get_state {
my $report = shift;
if ( !$report->{Reason_for_Closure} && !$report->{DEFECT_STATUS} && $report->{Enquiry_TASK_STATUS} eq 'Completed') {
- return "in progress";
+ return "closed";
}
my $fms_state = $alloy_to_fms_map{$report->{Reason_for_Closure}};