Invidious is an alternative front-end to YouTube
Rename "items_without_cate_items" to reflect usage
syeopite57c63f359886
diff --git a/src/invidious/search.cr b/src/invidious/search.crindex 3873b2dd..adf079f3 100644--- a/src/invidious/search.cr+++ b/src/invidious/search.cr@@ -234,18 +234,18 @@ def process_search_query(query, page, user, region)# Light processing to flatten search results out of Categories.# They should ideally be supported in the future.- items_without_cate_items = [] of SearchItem | ChannelVideo+ items_without_category = [] of SearchItem | ChannelVideoitems.each do |i|if i.is_a? Categoryi.contents.each do |nest_i|if !nest_i.is_a? Video- items_without_cate_items << nest_i+ items_without_category << nest_iendendelse- items_without_cate_items << i+ items_without_category << iendend- {search_query, items_without_cate_items.size, items_without_cate_items, url_params}+ {search_query, items_without_category.size, items_without_category, url_params}end