aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-11 12:04:09 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-11 12:04:09 +0100
commit417f83fc0319ab3957b7c48d508f4ae99f7c290e (patch)
tree5cd49a2cb2c9fcdfec32cf2c6b2fac8eb618ab9b
parentbc6fb03e66c94de36d0aac19179dd187b2ec6583 (diff)
only get updates for visible problems
-rw-r--r--bin/open311-update-reports3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/open311-update-reports b/bin/open311-update-reports
index 9d6d78282..292c0e937 100644
--- a/bin/open311-update-reports
+++ b/bin/open311-update-reports
@@ -32,8 +32,7 @@ while ( my $council = $council_list->next ) {
council => { like => "\%$area_id\%" },
external_id => { '!=', undef },
external_id => { '!=', '' },
-
- # FIXME - only care about visible states
+ state => { 'IN', [qw/confirmed fixed/] }
}
);