4947: Checked reviews requests in dashboard off by one after clicking a review request and going back

arma_otter

What version are you running?

4.0.4

What's the URL of the page containing the problem?

https://demo.reviewboard.org/dashboard/

What steps will reproduce the problem?

  1. Check one or more reviews requests in the dashboard
  2. Click a review request to load the review request page
  3. Click the back button
  4. The checked review requests from step (1) will be off by one

What is the expected output? What do you see instead?

Expected: The previously checked review requests in the dashboard to still be selected.

Instead, the checked review requests in the dashboard are now off by one. If the first review request in the dashboard was checked previously, then the second one is checked instead after performing the steps.

What operating system are you using? What browser?

MacOS and Chrome.

Firefox and Safari had no issues.

Please provide any additional information below.