lib/searchlogic/condition/base.rb in searchlogic-1.5.10 vs lib/searchlogic/condition/base.rb in searchlogic-1.6.0
- old
+ new
@@ -119,11 +119,10 @@
end
def meaningless?(v)
case v
when Array
- v.each { |i| return false unless meaningless?(i) }
- true
+ false
else
!explicitly_set_value? || (self.class.ignore_meaningless_value? && v != false && v.blank?)
end
end
\ No newline at end of file