diff --git a/helpdesk/templates/helpdesk/include/tickets.html b/helpdesk/templates/helpdesk/include/tickets.html index a270648b..7e9af696 100644 --- a/helpdesk/templates/helpdesk/include/tickets.html +++ b/helpdesk/templates/helpdesk/include/tickets.html @@ -46,7 +46,7 @@ {% endif %} {% with ''|center:11 as range %} {% for _ in range %} - {% with i = ticket_list.number + (forloop.counter-5) %} + {% with (ticket_list.number + (forloop.counter-5)) as i %} {% if ticket_list.number == i %}
  • {{ i }} (current)
  • {% else %}