lib/searchgasm/condition/not_have_keywords.rb in searchgasm-1.3.0 vs lib/searchgasm/condition/not_have_keywords.rb in searchgasm-1.3.1

- old
+ new

@@ -8,10 +8,13 @@ end def to_conditions(value) keywords = Keywords.new keywords.value = value - keywords.to_conditions.gsub(" LIKE ", " NOT LIKE ") + conditions = keywords.to_conditions + return conditions if conditions.blank? + conditions.first.gsub!(" LIKE ", " NOT LIKE ") + conditions end end end end \ No newline at end of file