diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-14 10:26:25 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-14 10:26:25 +0000 |
commit | a3cbfda1d64e416a21f7aaa9f32705b050bf5911 (patch) | |
tree | 455d5ee5e595414145d9f27a8931eabca1d09c1a /perllib/FixMyStreet/App/Controller/Open311.pm | |
parent | 2361c341a2d946470ce445c4ffd2efc57c348c4f (diff) | |
parent | 1511fd51adef54ec93759ef256ca9f3ce3646adb (diff) |
Merge branch 'issues/commercial/987-zurich-csv-updates'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Open311.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Open311.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Open311.pm b/perllib/FixMyStreet/App/Controller/Open311.pm index c7e4e5bee..50f082e39 100644 --- a/perllib/FixMyStreet/App/Controller/Open311.pm +++ b/perllib/FixMyStreet/App/Controller/Open311.pm @@ -307,6 +307,7 @@ sub get_requests : Private { # Only provide access to the published reports my $states = FixMyStreet::DB::Result::Problem->visible_states(); delete $states->{unconfirmed}; + delete $states->{submitted}; my $criteria = { state => [ keys %$states ] }; @@ -409,6 +410,7 @@ sub get_request : Private { my $states = FixMyStreet::DB::Result::Problem->visible_states(); delete $states->{unconfirmed}; + delete $states->{submitted}; my $criteria = { state => [ keys %$states ], id => $id, |