lib/searchgasm/condition/blank.rb in searchgasm-1.3.2 vs lib/searchgasm/condition/blank.rb in searchgasm-1.3.3

- old
+ new

@@ -9,12 +9,12 @@ end end def to_conditions(value) if value == true - "#{column_sql} is NULL or #{column_sql} = ''" + "#{column_sql} is NULL or #{column_sql} = '' or #{column_sql} = false" elsif value == false - "#{column_sql} is NOT NULL and #{column_sql} != ''" + "#{column_sql} is NOT NULL and #{column_sql} != '' and #{column_sql} != false" end end end end end \ No newline at end of file