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
				
			
		|  | @ -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> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue