aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-11 10:07:06 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-11 10:07:06 +0000
commit908de043a3a0bb9c026aded6166fa04870d304dc (patch)
tree9821c61bd72b1e088c08c50ae53e1b56325f9ba0
parentf09978e8c1b91e1dbd37675a53581d616df48fa8 (diff)
Include confirmed in reports to be dealt with.
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index 321041b92..7200cedb8 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -75,7 +75,7 @@ sub admin {
# XXX No multiples or missing bodies
$c->stash->{unconfirmed} = $c->cobrand->problems->search({
- state => 'unconfirmed',
+ state => [ 'unconfirmed', 'confirmed' ],
bodies_str => $c->stash->{body}->id,
});
$c->stash->{approval} = $c->cobrand->problems->search({
@@ -83,7 +83,7 @@ sub admin {
bodies_str => $c->stash->{body}->id,
});
$c->stash->{other} = $c->cobrand->problems->search({
- state => { -not_in => [ 'unconfirmed', 'planned' ] },
+ state => { -not_in => [ 'unconfirmed', 'confirmed', 'planned' ] },
bodies_str => \@all,
});
} elsif ($type eq 'sdm') {