diff --git a/helpdesk/templates/helpdesk/include/tickets.html b/helpdesk/templates/helpdesk/include/tickets.html index 54b5ab0f..3261d8ff 100644 --- a/helpdesk/templates/helpdesk/include/tickets.html +++ b/helpdesk/templates/helpdesk/include/tickets.html @@ -50,7 +50,7 @@ {% with ''|center:11 as range %} {% for _ in range %} - {% with ticket_list.number|add:forloop.counter|sub:"5" as i %} + {% with ticket_list.number|add:forloop.counter|add:"-5" as i %} {% if ticket_list.number == i %}