diff --git a/hypha/apply/users/templates/wagtailusers/users/results.html b/hypha/apply/users/templates/wagtailusers/users/results.html index 3b350343fb6ceb8ab7a528c2472ead0fb3c4609c..255e85b59a185d3818f8d4b5230becb6078f638a 100644 --- a/hypha/apply/users/templates/wagtailusers/users/results.html +++ b/hypha/apply/users/templates/wagtailusers/users/results.html @@ -17,7 +17,7 @@ {% include "wagtailusers/users/list.html" %} {# call pagination_nav with no linkurl, to generate general-purpose links like <a href="?p=2"> #} - {% include "wagtailadmin/shared/pagination_nav.html" with items=page_obj %} + {% include "wagtailadmin/shared/pagination_nav.html" with items=users %} {% else %} {% if is_searching %} <h2 role="alert">{% blocktrans trimmed %}Sorry, no users match "<em>{{ query_string }}</em>"{% endblocktrans %}</h2>