diff options
Diffstat (limited to 'web')
-rwxr-xr-x | web/ajax.cgi | 4 | ||||
-rwxr-xr-x | web/index.cgi | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/web/ajax.cgi b/web/ajax.cgi index 0a79fee6c..b7adb177a 100755 --- a/web/ajax.cgi +++ b/web/ajax.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: ajax.cgi,v 1.4 2008-10-09 14:20:54 matthew Exp $ +# $Id: ajax.cgi,v 1.5 2008-10-17 18:55:16 matthew Exp $ use strict; use Standard; @@ -31,7 +31,7 @@ sub main { $sx ||= 0; $sx += 0; $sy ||= 0; $sy += 0; - my ($pins, $on_map, $around_map, $dist) = Page::map_pins($q, $x, $y, $sx, $sy); + my ($pins, $on_map, $around_map, $dist) = Page::map_pins($q, $x, $y, $sx, $sy, '6 months'); my $list = ''; foreach (@$on_map) { diff --git a/web/index.cgi b/web/index.cgi index 8965c2cf1..5f36e38aa 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.219 2008-10-13 14:06:44 matthew Exp $ +# $Id: index.cgi,v 1.220 2008-10-17 18:55:16 matthew Exp $ use strict; use Standard; @@ -721,7 +721,7 @@ sub display_location { return Page::geocode_choice($error, '/') if (ref($error) eq 'ARRAY'); return front_page($q, $error) if ($error); - my ($pins, $on_map, $around_map, $dist) = Page::map_pins($q, $x, $y, $x, $y); + my ($pins, $on_map, $around_map, $dist) = Page::map_pins($q, $x, $y, $x, $y, '6 months'); my $out = Page::display_map($q, x => $x, y => $y, type => 1, pins => $pins ); $out .= $q->h1(_('Problems in this area')); my $email_me = _('Email me new local problems'); |