forked from midou/invidious
Add length_seconds to subscription search
This commit is contained in:
parent
a02b539362
commit
7951d4c8aa
@ -633,7 +633,7 @@ get "/search" do |env|
|
|||||||
count, videos = channel_search(search_query, page, channel)
|
count, videos = channel_search(search_query, page, channel)
|
||||||
elsif subscriptions
|
elsif subscriptions
|
||||||
if view_name
|
if view_name
|
||||||
videos = PG_DB.query_all("SELECT id,title,published,updated,ucid,author FROM (
|
videos = PG_DB.query_all("SELECT id,title,published,updated,ucid,author,length_seconds FROM (
|
||||||
SELECT *,
|
SELECT *,
|
||||||
to_tsvector(#{view_name}.title) ||
|
to_tsvector(#{view_name}.title) ||
|
||||||
to_tsvector(#{view_name}.author)
|
to_tsvector(#{view_name}.author)
|
||||||
|
Loading…
Reference in New Issue
Block a user