Add links for sort by date, duration, views, random.
This commit is contained in:
parent
1bc3df5efe
commit
4689609c97
1 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,15 @@ https://stackoverflow.com/a/35153397
|
|||
<span><a href="/videos/{{statename}}">{{statename}}</a> <a href="/videos/{{statename}}{{query_string}}">(?q)</a></span>
|
||||
{% endif %}
|
||||
{% 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><span id="search_filter_count">{{videos|length}}</span> items</center>
|
||||
|
|
Loading…
Reference in a new issue