Try a fix for ellipsis

This commit is contained in:
2022-07-16 19:46:33 +02:00
parent 44cdb8b09f
commit 908790c3e0
2 changed files with 9 additions and 2 deletions

View File

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