WebHost: Sort patch files

This commit is contained in:
Fabian Dill 2020-08-03 04:29:46 +02:00
parent 2fa9253775
commit 2716b78d07
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
{% macro list_patches_room(patches, room) %}
{% if patches %}
<ul>
{% for patch in patches %}
{% for patch in patches|list|sort %}
<li><a href="{{ url_for("download_patch", patch_id=patch.id, room_id=room.id) }}">
Patch for player {{ patch.player }} - {{ room.seed.multidata["names"][0][patch.player-1] }}</a></li>
{% endfor %}