mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +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)
|
||||
elsif subscriptions
|
||||
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 *,
|
||||
to_tsvector(#{view_name}.title) ||
|
||||
to_tsvector(#{view_name}.author)
|
||||
|
|
Loading…
Reference in a new issue