diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm index 2de274c61..3cd6bfd70 100644 --- a/perllib/FixMyStreet/App/Controller/Admin.pm +++ b/perllib/FixMyStreet/App/Controller/Admin.pm @@ -82,6 +82,8 @@ sub index : Path : Args(0) { state => [ FixMyStreet::DB::Result::Problem::open_states() ], whensent => undef, bodies_str => { '!=', undef }, + # Ignore very recent ones that probably just haven't been sent yet + confirmed => { '<', \"current_timestamp - '5 minutes'::interval" }, } )->all; $c->stash->{unsent_reports} = \@unsent; |