Fix improper URL formatting for channel sort

pull/2059/head
syeopite 4 years ago
parent 82d51429c1
commit d487ee1e15
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

@ -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="">

Loading…
Cancel
Save