remove comment
This commit is contained in:
@@ -63,7 +63,7 @@ module PgSearchable
|
|||||||
@ts_joins
|
@ts_joins
|
||||||
)
|
)
|
||||||
sql_query = select(:id).distinct.joins(sql_query_object.join_clause).group(:id).having(sql_query_object.where_clause)
|
sql_query = select(:id).distinct.joins(sql_query_object.join_clause).group(:id).having(sql_query_object.where_clause)
|
||||||
modified_sql_query = sql_query.to_sql.gsub('INNER', 'LEFT OUTER') # TODO: Search terms should not be replaced!
|
modified_sql_query = sql_query.to_sql.gsub('INNER', 'LEFT OUTER')
|
||||||
ActiveRecord::Base.connection.exec_query(modified_sql_query)
|
ActiveRecord::Base.connection.exec_query(modified_sql_query)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user