Note that download link sorting will be wrong for higher resolutions.

This commit is contained in:
Ben Sturmfels 2021-03-09 22:47:17 +11:00
parent 3bff300078
commit 9bd3ddb68a

View File

@ -93,6 +93,7 @@
</a> </a>
</li> </li>
{% endif %} {% endif %}
{# Sorting will be wrong for resolutions >= 1000p as it's alphanumeric. #}
{% for name, media in media.media_files|dictsort|list %} {% for name, media in media.media_files|dictsort|list %}
{% if name.startswith('webm') %} {% if name.startswith('webm') %}
<li> <li>