[home timeline] Fix query condition
This commit is contained in:
parent
fb3b754570
commit
94a04d3b54
|
@ -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) }
|
||||||
|
|
Loading…
Reference in New Issue