From 347412294a4627a417843b4cfae45edb35b58b32 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Sun, 16 Jul 2023 13:31:31 -0700 Subject: [PATCH] Hashtag: Show next page if a continuation exists --- src/invidious/routes/search.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/routes/search.cr b/src/invidious/routes/search.cr index 0a6665b4..aa06c191 100644 --- a/src/invidious/routes/search.cr +++ b/src/invidious/routes/search.cr @@ -112,7 +112,7 @@ module Invidious::Routes::Search page_nav_html = Frontend::Pagination.nav_numeric(locale, base_url: "/hashtag/#{hashtag_encoded}", current_page: page, - show_next: (items.size >= 60) + show_next: hashtagPage.has_next_continuation ) templated "hashtag"