mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-23 22:39:28 -05:00
Fix subscription feed for latest unseen videos
This commit is contained in:
parent
cd482cfd89
commit
879586d7f5
@ -1620,7 +1620,7 @@ get "/feed/subscriptions" do |env|
|
||||
end
|
||||
|
||||
videos = PG_DB.query_all("SELECT DISTINCT ON (ucid) * FROM #{view_name} WHERE \
|
||||
id NOT IN (#{watched}) ORDER BY published, ucid #{sort}",
|
||||
id NOT IN (#{watched}) ORDER BY ucid, published #{sort}",
|
||||
user.watched, as: ChannelVideo)
|
||||
else
|
||||
videos = PG_DB.query_all("SELECT DISTINCT ON (ucid) * FROM #{view_name} \
|
||||
|
Loading…
Reference in New Issue
Block a user