admin: fix pagination redirecting full page

This commit is contained in:
Jens Langhammer 2020-11-21 20:59:20 +01:00
parent 1cb227305c
commit e32cbec072
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
<div class="pf-c-pagination__nav-control pf-m-prev">
<a class="pf-c-button pf-m-plain"
{% if page_obj.has_previous %}
href="?{% query_transform page=page_obj.previous_page_number %}"
href="{{ request.path }}?{% query_transform page=page_obj.previous_page_number %}"
{% else %}
disabled
{% endif %}
@ -28,7 +28,7 @@
<div class="pf-c-pagination__nav-control pf-m-next">
<a class="pf-c-button pf-m-plain"
{% if page_obj.has_next %}
href="?{% query_transform page=page_obj.next_page_number %}"
href="{{ request.path }}?{% query_transform page=page_obj.next_page_number %}"
{% else %}
disabled
{% endif %}