aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Problems.pm
diff options
context:
space:
mode:
authormatthew <matthew>2008-09-10 11:37:36 +0000
committermatthew <matthew>2008-09-10 11:37:36 +0000
commitc25c0ded011d6e869cac5f9bf11626e4a2d1832d (patch)
tree86784693c05d8106678bab6383451f6956f87cab /perllib/Problems.pm
parent6c77757b8733d6d438bee130c8e0e1510816858b (diff)
Show all pins within map square, will do for starters.
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r--perllib/Problems.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm
index 548496f63..38dbdef07 100644
--- a/perllib/Problems.pm
+++ b/perllib/Problems.pm
@@ -6,7 +6,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: Problems.pm,v 1.3 2008-05-23 09:53:10 matthew Exp $
+# $Id: Problems.pm,v 1.4 2008-09-10 11:37:36 matthew Exp $
#
package Problems;
@@ -94,7 +94,7 @@ sub current_on_map {
"select id,title,easting,northing from problem where state='confirmed'
and easting>=? and easting<? and northing>=? and northing<?
$site_restriction
- order by created desc limit 9", $min_e, $max_e, $min_n, $max_n);
+ order by created desc", $min_e, $max_e, $min_n, $max_n);
}
sub current_nearby {