diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-01 16:00:30 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-01 17:38:26 +0100 |
commit | 515190b62e24ab43e150c4d65b55c774682f2578 (patch) | |
tree | 80da0015ec7bfb0fb8dec41d54f36d8d9f0fbbdf /perllib/Open311 | |
parent | 741abb421c66bdf91a60a988d7250feb59c6ca45 (diff) |
tidy up status names in DB, improve tests a little
Diffstat (limited to 'perllib/Open311')
-rw-r--r-- | perllib/Open311/GetServiceRequestUpdates.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/Open311/GetServiceRequestUpdates.pm b/perllib/Open311/GetServiceRequestUpdates.pm index 2af128ec7..c9bb7a91b 100644 --- a/perllib/Open311/GetServiceRequestUpdates.pm +++ b/perllib/Open311/GetServiceRequestUpdates.pm @@ -99,6 +99,8 @@ sub update_comments { my $incoming_status = lc( $request->{status} ); my $internal_status = $incoming_status; $internal_status =~ s/_/ /g; + + $internal_status = 'not responsible' if $internal_status eq 'not councils responsibility'; if ( $p->is_open and ( $incoming_status eq 'closed' or $incoming_status eq 'fixed' ) ) { $p->state( 'fixed - council' ); $comment->problem_state( 'fixed - council' ); |