-
-
reviewboard/webapi/resources.py (Diff revision 1) Please format this as such: """ Provides information on users, groups and review requests. This is the resource for the autocomplete... """ Note the alignment and blank line in there.
-
-
Quick Search: Search Resource
Review Request #2198 — Created March 14, 2011 and submitted
Information | |
---|---|
CrystalLokKoo | |
Review Board | |
Reviewers | |
reviewboard | |
This is the resource used by quick search. It provides information on users (username, first name, last name), groups (name, display name), and review requests (id, summaries).
I tested it through the /search/?q=___ and it works properly. Also, with the autocomplete, it also returns the data I want.
-
-
reviewboard/webapi/resources.py (Diff revision 3) Put these on the same line. First line is always the summary.
-
reviewboard/webapi/resources.py (Diff revision 3) No blank line here. Also, you can actually have fullname=None, q=None, displayname=None, id=None in the arguments list, and use them directly below.
-
reviewboard/webapi/resources.py (Diff revision 3) It would be nice to document how this is used and what sort of results you'll get.
-
reviewboard/webapi/resources.py (Diff revision 3) This will need to factor in the local_site. You should be able to find other queries that do this. Check UserResource for instance.
-
reviewboard/webapi/resources.py (Diff revision 3) Shouldn't set local_site_name to None. It should be an argument in get().
-
-
-