Sort leaderboard table by total points
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 14s

This commit is contained in:
2024-03-02 13:25:03 +01:00
parent 49939a38b4
commit d5d128379d
3 changed files with 8 additions and 2 deletions

View File

@ -23,7 +23,7 @@
</thead>
<tbody>
{% for user in model.all_users() %}
{% for user in points.users_sorted_by_points() %}
<tr>
<td class="text-center text-nowrap">{{ user.name }}</td>
<td class="text-center text-nowrap">{{ points.total_points_by(user.name) }}</td>