app/models/concerns/spotlight/exhibit_documents.rb in blacklight-spotlight-0.17.1 vs app/models/concerns/spotlight/exhibit_documents.rb in blacklight-spotlight-0.18.0

- old
+ new

@@ -22,18 +22,17 @@ end private def exhibit_search_builder - blacklight_config.search_builder_class.new(true, exhibit_search_builder_context).except(:apply_permissive_visibility_filter) + blacklight_config.search_builder_class.new(exhibit_search_builder_context).except(:apply_permissive_visibility_filter) end def exhibit_search_builder_context OpenStruct.new(blacklight_config: blacklight_config, current_exhibit: self) end def repository - @repository ||= Blacklight.repository_class.new(blacklight_config) if Blacklight.respond_to? :repository_class - @repository ||= Blacklight::Solr::Repository.new(blacklight_config) + @repository ||= Blacklight.repository_class.new(blacklight_config) end end end