aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlouise <louise>2009-07-01 14:55:35 +0000
committerlouise <louise>2009-07-01 14:55:35 +0000
commitdab600fd2bf74b946a9d262bc093c1a2eb62a7ee (patch)
tree6b8a6e3e5ba6a3c6de24b88817e3efcb1de22436
parent20a8d73794297eb9b6f0ec110cc6ff888480ab9a (diff)
Include id for api, exclude northing and easting
-rw-r--r--perllib/Problems.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm
index 17101f6fe..d828470b9 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.17 2009-07-01 13:31:01 louise Exp $
+# $Id: Problems.pm,v 1.18 2009-07-01 14:55:35 louise Exp $
#
package Problems;
@@ -183,7 +183,7 @@ sub fetch_problem {
sub problems_matching_criteria{
my ($criteria) = @_;
my $problems = select_all(
- "select title, easting, northing, council, category, detail, name, anonymous,
+ "select id, title, council, category, detail, name, anonymous,
confirmed, whensent, service
from problem
$criteria