aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/ResultSet/State.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-08-23 14:01:11 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-08-23 14:03:27 +0100
commitd796d495df8f99990a1ce67bae79c897c21f1432 (patch)
treedd0ea8d897d9327e07b82621c05f01092df07105 /perllib/FixMyStreet/DB/ResultSet/State.pm
parent438af2f1fe782b720f3de1b974ea8828455b65fd (diff)
[Oxfordshire] Change update state display name.
Diffstat (limited to 'perllib/FixMyStreet/DB/ResultSet/State.pm')
-rw-r--r--perllib/FixMyStreet/DB/ResultSet/State.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/DB/ResultSet/State.pm b/perllib/FixMyStreet/DB/ResultSet/State.pm
index 3e6169aeb..9ab95ecaf 100644
--- a/perllib/FixMyStreet/DB/ResultSet/State.pm
+++ b/perllib/FixMyStreet/DB/ResultSet/State.pm
@@ -76,6 +76,9 @@ sub display {
return 'third party responsibility' if $cobrand eq 'bromley';
return _("not the council's responsibility");
}
+ if ($cobrand && $cobrand eq 'oxfordshire' && $label eq 'unable to fix') {
+ return 'Investigation complete';
+ }
my ($state) = $rs->_filter(sub { $_->label eq $label });
return $label unless $state;
$state->name($translate_now->{$label}) if $translate_now->{$label};