lib/searchgasm/condition/like.rb in searchgasm-1.5.2 vs lib/searchgasm/condition/like.rb in searchgasm-1.5.3
- old
+ new
@@ -6,10 +6,10 @@
super + ["contains", "has"]
end
end
def to_conditions(value)
- ["#{column_sql} LIKE ?", "%#{value}%"]
+ ["#{column_sql} #{like_condition_name} ?", "%#{value}%"]
end
end
end
end
\ No newline at end of file