• 
      

    Add API support for filtering review requests by branch.

    Review Request #10763 — Created Oct. 23, 2019 and submitted

    Information

    Review Board
    release-3.0.x
    21de70a...

    Reviewers

    This adds a ?branch= filter to the review request API, allowing review
    requests to be filtered by branch. This compares directly, and is
    case-sensitive.

    At the moment, this does not make use of any database indexes, so for
    very large installs, this filter may be slow. We are not providing a
    database index for branch fields at this time, in order to avoid
    impacting the upgrade process for these servers, but if administrators
    need to make use of this API and are seeing slowdown, an index on the
    branch column can be added manually. We will be indexing this branch in
    Review Board 4.0.

    Unit tests pass.

    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.0.x (72d4f7f)