lib/picky/indexed/category.rb in picky-0.12.0 vs lib/picky/indexed/category.rb in picky-0.12.1
- old
+ new
@@ -24,13 +24,12 @@
@partial = options[:partial_index_bundle] || Bundle.new(:partial, configuration, similarity)
@exact = exact_lambda.call(@exact, @partial) if exact_lambda = options[:exact_lambda]
@partial = partial_lambda.call(@exact, @partial) if partial_lambda = options[:partial_lambda]
- # Extract?
+ # TODO Extract?
#
- qualifiers = generate_qualifiers_from options || [name]
- Query::Qualifiers.add(configuration.category_name, qualifiers) if qualifiers
+ Query::Qualifiers.add(configuration.category_name, generate_qualifiers_from(options) || [name])
end
# TODO Move to Index.
#
def generate_qualifiers_from options
\ No newline at end of file