aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/GetServiceRequestUpdates.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-09-05 10:04:48 +0100
committerStruan Donald <struan@exo.org.uk>2012-09-05 10:04:48 +0100
commit174560660da697408db51d2cea617f27558f1b30 (patch)
tree6e305dcf38543314536f5317f62f2d3d7e8478a9 /perllib/Open311/GetServiceRequestUpdates.pm
parent8e1336875a074adb7f906651233931e0ea4c22b7 (diff)
handle re-opening of problems via open311 service requests updates correctly
also small tweaks to display of update meta information
Diffstat (limited to 'perllib/Open311/GetServiceRequestUpdates.pm')
-rw-r--r--perllib/Open311/GetServiceRequestUpdates.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/Open311/GetServiceRequestUpdates.pm b/perllib/Open311/GetServiceRequestUpdates.pm
index c30d05b22..15a75155a 100644
--- a/perllib/Open311/GetServiceRequestUpdates.pm
+++ b/perllib/Open311/GetServiceRequestUpdates.pm
@@ -101,6 +101,7 @@ sub update_comments {
$comment->problem_state( 'fixed - council' );
} elsif ( ( $p->is_closed || $p->is_fixed ) and lc($request->{status}) eq 'open' ) {
$p->state( 'confirmed' );
+ $comment->mark_open(1);
$comment->problem_state( 'confirmed' );
}
}