From 937f64ef6cd5499601be1e0631a91cff909afb66 Mon Sep 17 00:00:00 2001 From: syeopite Date: Mon, 12 Apr 2021 01:52:53 -0700 Subject: [PATCH] Disallow removing filters from sort by column --- src/invidious/views/search.ecr | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/invidious/views/search.ecr b/src/invidious/views/search.ecr index de7c44d1..cb4fe563 100644 --- a/src/invidious/views/search.ecr +++ b/src/invidious/views/search.ecr @@ -119,10 +119,7 @@ <% ["relevance", "rating", "date", "views"].each do |sort| %>
<% if operator_hash.fetch("sort", "relevance") == sort %> - "> - <%= translate(locale, sort) %> - - + <%= translate(locale, sort) %> <% else %> "> <%= translate(locale, sort) %>