lib/picky/query/token.rb in picky-4.0.5 vs lib/picky/query/token.rb in picky-4.0.6
- old
+ new
@@ -152,9 +152,15 @@
@qualifiers, @text = if @text.blank?
[nil, (@qualifiers || EMPTY_STRING)]
else
[@qualifiers.split(@@split_qualifiers), @text]
end
+ # if @text.blank?
+ # @qualifiers = nil
+ # @text = @qualifiers || EMPTY_STRING
+ # else
+ # @qualifiers = @qualifiers.split @@split_qualifiers
+ # end
end
# Internally, qualifiers are nil if there are none.
# This returns an empty array in this case for a nicer API.
#
\ No newline at end of file