Fix order of participants in the statistics page

Fixes #607
This commit is contained in:
Baptiste Jonglez 2020-05-03 19:27:02 +02:00
parent b7577f1b7d
commit 84b6c84b99

View file

@ -27,7 +27,7 @@
<table id="bill_table" class="split_bills table table-striped ml-md-n3">
<thead><tr><th class="d-md-none">{{ _("Who?") }}</th><th>{{ _("Paid") }}</th><th>{{ _("Spent") }}</th></tr></thead>
<tbody>
{% for stat in members_stats %}
{% for stat in members_stats|sort(attribute='member.name') %}
<tr>
<td class="d-md-none">{{ stat.member.name }}</td>
<td>{{ "%0.2f"|format(stat.paid) }}</td>