From 5f910a72e0e63c33da4e534d864ae0ff867fde97 Mon Sep 17 00:00:00 2001 From: Tom Bernens Date: Mon, 1 Jun 2020 17:49:50 -0700 Subject: [PATCH] forgot an add --- helpdesk/templates/helpdesk/include/tickets.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}