mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Add length_seconds to subscription search
This commit is contained in:
parent
a02b539362
commit
7951d4c8aa
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue