aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin/ExorDefects.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin/ExorDefects.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin/ExorDefects.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin/ExorDefects.pm b/perllib/FixMyStreet/App/Controller/Admin/ExorDefects.pm
index 164a4b42d..013d710af 100644
--- a/perllib/FixMyStreet/App/Controller/Admin/ExorDefects.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin/ExorDefects.pm
@@ -57,6 +57,7 @@ sub download : Path('download') : Args(0) {
my %params = (
-and => [
state => [ 'action scheduled' ],
+ external_id => { '!=' => undef },
'admin_log_entries.action' => 'inspected',
'admin_log_entries.whenedited' => { '>=', $start_date },
'admin_log_entries.whenedited' => { '<=', $end_date + $one_day },