Add links for sort by date, duration, views, random.

This commit is contained in:
voussoir 2020-04-03 14:24:48 -07:00
parent 1bc3df5efe
commit 4689609c97

View file

@ -112,6 +112,15 @@ https://stackoverflow.com/a/35153397
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<p><!-- spacer --></p>
<span>Sort by
<a href="?orderby=published">Date</a>,
<a href="?orderby=duration">Duration</a>,
<a href="?orderby=views">Views</a>,
<a href="?orderby=random">Random</a>
</span>
<center><input type="text" id="search_filter"/></center> <center><input type="text" id="search_filter"/></center>
<center><span id="search_filter_count">{{videos|length}}</span> items</center> <center><span id="search_filter_count">{{videos|length}}</span> items</center>