lib/picky/query/combinations.rb in picky-4.23.1 vs lib/picky/query/combinations.rb in picky-4.23.2
- old
+ new
@@ -45,10 +45,10 @@
# ids that have an associated identifier that is nil.
#
def remove categories = []
# TODO Do not use the name, but the category.
#
- @combinations.reject! { |combination| categories.include?(combination.category.name) }
+ @combinations.reject! { |combination| categories.include?(combination.category_name) }
end
#
#
def to_result
\ No newline at end of file