mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add 'published - reverse' option to feed
This commit is contained in:
parent
c8b321920d
commit
adcefa4ffa
2 changed files with 20 additions and 8 deletions
|
@ -131,7 +131,7 @@ function update_value(element) {
|
|||
<div class="pure-control-group">
|
||||
<label for="sort">Sort videos by: </label>
|
||||
<select name="sort" id="sort">
|
||||
<% ["published", "alphabetically", "alphabetically - reverse", "channel name", "channel name - reverse"].each do |option| %>
|
||||
<% {"published", "published - reverse", "alphabetically", "alphabetically - reverse", "channel name", "channel name - reverse"}.each do |option| %>
|
||||
<option <% if user.preferences.sort == option %> selected <% end %>><%= option %></option>
|
||||
<% end %>
|
||||
</select>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue