summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-03-04 04:28:48 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-03-04 04:28:48 +0100
commitd57b28ac7e8b5fc89189c8c0ab07550497b45f1e (patch)
treecc701b332769693924f64687edfd5f6d1e7921e6 /web/lib
parent9c98047f86775cd20b0b01c4b6c426e1b3a0fd53 (diff)
downloadaur-d57b28ac7e8b5fc89189c8c0ab07550497b45f1e.tar.gz
aur-d57b28ac7e8b5fc89189c8c0ab07550497b45f1e.tar.xz
Add LocationID to returned fields in json interface.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aurjson.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php
index 425748d7..81c150b1 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -23,7 +23,7 @@ class AurJSON {
private $dbh = false;
private $exposed_methods = array('search','info');
private $fields = array('ID','Name','Version','CategoryID','Description',
- 'URL','URLPath','License','NumVotes','OutOfDate');
+ 'LocationID', 'URL','URLPath','License','NumVotes','OutOfDate');
/**
* Handles post data, and routes the request.