Fix page range

This commit is contained in:
2022-07-16 20:57:29 +02:00
parent 8136a180ab
commit 24af738ad4
4 changed files with 46 additions and 24 deletions

View File

@@ -70,7 +70,7 @@
<span class="page-link">Previous</span>
</li>
{% endif %}
{% for i in consist.paginator.get_elided_page_range %}
{% for i in page_range %}
{% if consist.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>