From 94a04d3b5403683b00012d609cbf477d81acac7c Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Thu, 21 Jan 2021 23:56:31 -0500 Subject: [PATCH] [home timeline] Fix query condition --- app/models/home_feed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/home_feed.rb b/app/models/home_feed.rb index 5b9d52ff..d8302cfe 100644 --- a/app/models/home_feed.rb +++ b/app/models/home_feed.rb @@ -40,7 +40,7 @@ class HomeFeed < Feed limit #{limit} ) st 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 " # .reject { |status| FeedManager.instance.filter?(:home, status, @account.id) }