[home timeline] Fix query condition

This commit is contained in:
Fosco Marotto 2021-01-21 23:56:31 -05:00
parent fb3b754570
commit 94a04d3b54
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class HomeFeed < Feed
limit #{limit} limit #{limit}
) st ) st
left join custom_filters cf left join custom_filters cf
on cf.account_id = #{@id} and st.text not like '%' || cf.phrase || '%' on cf.account_id = #{@id} and st.text like '%' || cf.phrase || '%'
where cf.id is null where cf.id is null
" "
# .reject { |status| FeedManager.instance.filter?(:home, status, @account.id) } # .reject { |status| FeedManager.instance.filter?(:home, status, @account.id) }