aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorHakim Cassimally <hakim@mysociety.org>2015-02-09 18:01:32 +0000
committerDave Arter <davea@mysociety.org>2015-10-06 09:09:24 +0100
commit34f3f5a36b6773ad51060256d4e95efd7c45b3c8 (patch)
tree5e656a15cc0bda3f930dc019d4dff664b8e035ac /perllib/FixMyStreet/App.pm
parent2ff36453ebaa86e7f58f17ec63d2f95a88b8be99 (diff)
[Zurich] new status flags
Have moved the generation of banner text from the template into problem_as_hashref See mysociety/FixMyStreet-Commercial#672
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index c5d628ab6..c9286b177 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -207,7 +207,8 @@ sub setup_request {
# XXX Put in cobrand / do properly
if ($c->cobrand->moniker eq 'zurich') {
- FixMyStreet::DB::Result::Problem->visible_states_add_unconfirmed();
+ FixMyStreet::DB::Result::Problem->visible_states_add('unconfirmed');
+ FixMyStreet::DB::Result::Problem->visible_states_remove('investigating');
}
if (FixMyStreet->test_mode) {