fix search with multiple results

This commit is contained in:
2020-12-18 12:24:52 +01:00
parent 6a2a4b6fa0
commit 3b678ab4a8
3 changed files with 45 additions and 36 deletions

View File

@@ -25,7 +25,7 @@
{% for p in playerList %}
{% set count = loop.index + start %}
<tr {% if searchName and searchName == p.name %} id="targetPlayer" {% endif %}>
<td>{{ count }}</td>
<td>{% if doNotComputeRank %} {{ count }} {% else %} {{ p.rankStr }} {% endif %}</td>
<td><a href="/player?id={{ p.playerId }}">{{ p.name }}</a></td>
<td>{{ p.games }}</td>
<td>{{ p.rating }}</td>