forgot an add

This commit is contained in:
Tom Bernens 2020-06-01 17:49:50 -07:00
parent 1ea2a9cba9
commit 5f910a72e0

View File

@ -52,7 +52,7 @@
{% for i in ticket_list.paginator.page_range %}
{% if ticket_list.number == i %}
<li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li>
{% elif i <= ticket_list.number|add:5 and i >= ticket_list.number|-5 %}
{% elif i <= ticket_list.number|add:5 and i >= ticket_list.number|add:-5 %}
<li><a href="?{{ page_var }}={{ i }}">{{ i }}</a></li>
{% endif %}
{% endfor %}