diff options
author | Struan Donald <struan@exo.org.uk> | 2012-05-28 23:09:20 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-05-28 23:09:20 +0100 |
commit | 131ff6e9bf3626d6a8fff6ae54669d250148a63a (patch) | |
tree | 90f1f1261e91a513f759453682c3d4d8fb021ab2 | |
parent | 959012b397c40638eaa62cd911f416f605043330 (diff) |
only look for service lists on open311 end points
-rwxr-xr-x | bin/open311-populate-service-list | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/open311-populate-service-list b/bin/open311-populate-service-list index 36e04f5a6..33be61af7 100755 --- a/bin/open311-populate-service-list +++ b/bin/open311-populate-service-list @@ -6,7 +6,9 @@ use FixMyStreet::App; use Open311::PopulateServiceList; -my $council_list = FixMyStreet::App->model('DB::Open311conf'); +my $council_list = FixMyStreet::App->model('DB::Open311conf')->search( { + send_method => 'Open311' +} ); my $p = Open311::PopulateServiceList->new( council_list => $council_list ); $p->process_councils; |