From e2497866d7a86c05936f79dde6c1112d26d13296 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 8 Nov 2024 21:32:25 +0200 Subject: [PATCH] fix counter --- files/templates/group_memberships.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/group_memberships.html b/files/templates/group_memberships.html index 3b208cb93..a28f2444d 100644 --- a/files/templates/group_memberships.html +++ b/files/templates/group_memberships.html @@ -77,7 +77,7 @@ {% for membership in memberships %} {% set counter = loop.index %} - {% if page > 1 %} + {% if name == 'members' and page > 1 %} {% set counter = counter + (page - 1) * 500 + 1 %} {% endif %} {{counter}}