Fix improper URL formatting for channel sort

This commit is contained in:
syeopite 2021-04-13 14:18:37 -07:00
parent 82d51429c1
commit d487ee1e15
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -113,9 +113,6 @@
<% if content_type == 0 || content_type == 1 %> <% if content_type == 0 || content_type == 1 %>
<% route = content_type == 1 ? "/playlists" : "" %> <% route = content_type == 1 ? "/playlists" : "" %>
<% url = "/channel/#{channel.ucid + route}" %> <% url = "/channel/#{channel.ucid + route}" %>
<% if env.params.query %>
<% url += "?#{env.params.query}"%>
<% end %>
<div class="pure-u-1-3"> <!-- Sort by --> <div class="pure-u-1-3"> <!-- Sort by -->
<div class="pure-menu pure-menu-horizontal" style=""> <div class="pure-menu pure-menu-horizontal" style="">