Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
aurweb
Commits
d57b28ac
Commit
d57b28ac
authored
Mar 03, 2009
by
Loui Chang
Browse files
Add LocationID to returned fields in json interface.
Signed-off-by:
Loui Chang
<
louipc.ist@gmail.com
>
parent
9c98047f
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/lib/aurjson.class.php
View file @
d57b28ac
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment