Move pagination from change_list_results template to change_list.

Review Request #12149 — Created March 14, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

Django has done some rearranging of their admin site templates, and the
paginator is no longer passed through the {% results_list %} tag,
instead being implemented from within the outer change_list.html
template. This change does the same for our template overrides.

  • Loaded object lists in the admin site.
  • Made a change to an object and was able to successfully load the
    post-save results list.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Move pagination from change_list_results template to change_list.
Django has done some rearranging of their admin site templates, and the paginator is no longer passed through the `{% results_list %}` tag, instead being implemented from within the outer `change_list.html` template. This change does the same for our template overrides. Testing Done: - Loaded object lists in the admin site. - Made a change to an object and was able to successfully load the post-save results list.
ba2480200f73f9bcd6697d392962533f2391c4c2 David Trowbridge
reviewboard/templates/admin/change_list.html
reviewboard/templates/admin/change_list_results.html
Loading...