diff options
author | matthew <matthew> | 2009-04-01 18:22:47 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-04-01 18:22:47 +0000 |
commit | cf0e7c3d2157f5b76da9a383154b726c4557b1b7 (patch) | |
tree | c4e6f2b7edd8ac004123b6605e111bb36af2f7be | |
parent | 8c20638c60bede3f6ea88519310a80457ac7df0b (diff) |
Add min_generation to get_areas_by_type.
-rwxr-xr-x | web/reports.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/reports.cgi b/web/reports.cgi index 48ecf2f1a..b46950eb7 100755 --- a/web/reports.cgi +++ b/web/reports.cgi @@ -7,7 +7,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: reports.cgi,v 1.26 2009-04-01 18:04:11 matthew Exp $ +# $Id: reports.cgi,v 1.27 2009-04-01 18:22:47 matthew Exp $ use strict; use Standard; @@ -112,7 +112,7 @@ sub main { my $ignore = 'LGD'; $ignore .= '|CTY' if $q->{site} eq 'emptyhomes'; my @types = grep { !/$ignore/ } @$mySociety::VotingArea::council_parent_types; - %councils = map { $_ => 1 } @{mySociety::MaPit::get_areas_by_type(\@types)}; + %councils = map { $_ => 1 } @{mySociety::MaPit::get_areas_by_type(\@types, 10)}; } my @params; |