app/models/spotlight/exhibit.rb in blacklight-spotlight-0.12.1 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-0.13.0

- old
+ new

@@ -72,10 +72,10 @@ Spotlight::ExhibitExportSerializer.prepare(self).from_hash(hash) self end def solr_data - { :"#{Spotlight::Engine.config.solr_fields.prefix}spotlight_exhibit_slug_#{slug}#{Spotlight::Engine.config.solr_fields.boolean_suffix}" => true } + Spotlight::Engine.config.exhibit_filter.call(self) end def reindex_later Spotlight::ReindexJob.perform_later(self) end