diff --git a/locales/en-US.json b/locales/en-US.json index 1aa2ab92..eb0dfe2d 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -4,6 +4,7 @@ "Answer": "Answer", "Search for videos": "Search for videos", "The Popular feed has been disabled by the administrator.": "The Popular feed has been disabled by the administrator.", + "The Trending feed has been disabled by the administrator": "The Trending feed has been disabled by the administrator", "generic_channels_count": "{{count}} channel", "generic_channels_count_plural": "{{count}} channels", "generic_views_count": "{{count}} view", diff --git a/src/invidious/routes/search.cr b/src/invidious/routes/search.cr index bd76775d..eb253d2c 100644 --- a/src/invidious/routes/search.cr +++ b/src/invidious/routes/search.cr @@ -70,6 +70,8 @@ module Invidious::Routes::Search return error_template 500, ex end + redirect_url = Invidious::Frontend::Misc.redirect_url(env) + # Pagination page_nav_html = Frontend::Pagination.nav_numeric(locale, base_url: "/search?#{query.to_http_params}",