Add some additional query options to the status updates list API.
Review Request #8552 — Created Nov. 22, 2016 and submitted
This change adds a few additional options to the status updates list API for
querying by the change description, service ID, or state.
Ran unit tests.
-
-
reviewboard/webapi/resources/status_update.py (Diff revision 1) .filter(Q())
is equivalent to.all()
so you rewrite this all as:q = Q() if is_list: # ... return review_request.status_updates.filter(q)