From 491e33450eb1300d0234bb33df0d0e78a027114f Mon Sep 17 00:00:00 2001 From: syeopite Date: Fri, 25 Jun 2021 19:30:14 -0700 Subject: [PATCH] Fix miscount of search results --- src/invidious/search.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/search.cr b/src/invidious/search.cr index 0a3978d3..82ec65ed 100644 --- a/src/invidious/search.cr +++ b/src/invidious/search.cr @@ -246,5 +246,5 @@ def process_search_query(url_params, query, page, user, region) end end - {search_query, count, items_without_cate_items, url_params} + {search_query, items_without_cate_items.size, items_without_cate_items, url_params} end