mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-15 04:56:16 +00:00
Make use of Search::Query/Filters and associated HTML generator
This commit is contained in:
@@ -110,11 +110,10 @@ module Invidious::Search
|
||||
|
||||
case @type
|
||||
when .regular?, .playlist?
|
||||
all_items = search(@query, @filters, @page, @region)
|
||||
items = unnest_items(all_items)
|
||||
items = unnest_items(Processors.regular(self))
|
||||
#
|
||||
when .channel?
|
||||
items = Processors.channel(@query, @page, @channel)
|
||||
items = Processors.channel(self)
|
||||
#
|
||||
when .subscriptions?
|
||||
if user
|
||||
|
||||
Reference in New Issue
Block a user