diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Zurich.pm | 4 |
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') { |