diff --git a/helpdesk/templates/helpdesk/include/tickets.html b/helpdesk/templates/helpdesk/include/tickets.html index 9ba3af96..c07ab2eb 100644 --- a/helpdesk/templates/helpdesk/include/tickets.html +++ b/helpdesk/templates/helpdesk/include/tickets.html @@ -52,7 +52,7 @@ {% for i in ticket_list.paginator.page_range %} {% if ticket_list.number == i %}
  • {{ i }} (current)
  • - {% 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 %}
  • {{ i }}
  • {% endif %} {% endfor %}