Skip to content

Commit

Permalink
ui: fix ranking pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe committed Dec 16, 2024
1 parent a27e6a9 commit fdb4f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui-default/templates/ranking.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{% endif %}
{%- for udoc in udocs -%}
<tr>
<td class="col--rank">{{ (page - 1) * 100 + loop.index }}</td>
<td class="col--rank">{{ (page - 1) * model.system.get('pagination.ranking') + loop.index }}</td>
<td class="col--user">{{ user.render_inline(udoc) }}</td>
<td class="col--rp">{{ udoc.rp|default(0)|round(0) }}</td>
{% for key, def in model.rp %}
Expand Down

0 comments on commit fdb4f18

Please sign in to comment.