Fix Search API on 2.5

Review Request #9115 — Created Aug. 1, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x

Reviewers

Review Board 2.5's webapi_check_local_site passes the local_site
parameter in addition to the local_site_name. This was causing the
_search_* methods to receive two copies of local_site, resulting in
an error. This issue has been resolved by just passing the Local Site
directly in via **kwargs.

Ran unit tests. They all pass with this patch applied and did not
previously.

    Loading...