From 59b1752797d3122805cc6ddb95ff4793b9da801d Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Sat, 23 Jan 2021 21:38:17 -0500 Subject: [PATCH] [groups collection] disable custom phrase muting temporarily --- app/lib/sorting_query_builder.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/lib/sorting_query_builder.rb b/app/lib/sorting_query_builder.rb index d70c78db..2cb50f6e 100644 --- a/app/lib/sorting_query_builder.rb +++ b/app/lib/sorting_query_builder.rb @@ -80,11 +80,12 @@ class SortingQueryBuilder < BaseService query += " ) q - left join custom_filters cf - on cf.account_id = #{account_id} - and q.text like '%' || cf.phrase || '%' - where cf.id is null " + #left join custom_filters cf + # on cf.account_id = #{account_id} + # and q.text like '%' || cf.phrase || '%' + #where cf.id is null + #" return Status.find_by_sql query end