Fix a regression in loading commits in the New Review Request page.

Review Request #11726 — Created July 15, 2021 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

In Review Board 4.0.3, changes were made to the commits list in the New
Review Request page to load enough commits to fill up the scroll area.
However, this change introduced a regression at the tail end of
development, where a variable was renamed but the old name was checked.
This prevented commits from loading indefinitely.

This change fixes that issue, updating the variable name check and
ensuring commits can continue to load.

Tested loading commits in the New Review Request page. I was able to
scroll as long as I wanted, with new commits continuing to load in.

Commits

Files