lib/blacklight/search_builder.rb in blacklight-5.18.0 vs lib/blacklight/search_builder.rb in blacklight-5.19.0
- old
+ new
@@ -13,10 +13,10 @@
attr_reader :processor_chain, :blacklight_params
# @param [List<Symbol>,TrueClass] processor_chain a list of filter methods to run or true, to use the default methods
# @param [Object] scope the scope where the filter methods reside in.
def initialize(processor_chain, scope)
- @processor_chain = if processor_chain === true
+ @processor_chain = if processor_chain == true
default_processor_chain.dup
else
processor_chain
end