fix counter

master
Aevann 2024-11-08 21:32:25 +02:00
parent 936665eb20
commit e2497866d7
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
{% for membership in memberships %}
<tr id="{{membership.user_id}}">
{% set counter = loop.index %}
{% if page > 1 %}
{% if name == 'members' and page > 1 %}
{% set counter = counter + (page - 1) * 500 + 1 %}
{% endif %}
<td id="counter-{{membership.user_id}}">{{counter}}</td>