Sha256: 17668432f3914a378af185106c4547d5044020bf6ae1c069084f6b4742da98a0

Contents?: true

Size: 392 Bytes

Versions: 18

Compression:

Stored size: 392 Bytes

Contents

module CurationConcerns
  class AdminSetIndexer < ActiveFedora::IndexingService
    include IndexesThumbnails

    def generate_solr_document
      super.tap do |solr_doc|
        # Makes Admin Sets show under the "Admin Sets" tab
        Solrizer.set_field(solr_doc, 'generic_type', 'Admin Set', :facetable)
        solr_doc['thumbnail_path_ss'] = thumbnail_path
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.7 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-2.0.0 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-2.0.0.rc2 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.6 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.5 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.4 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.3 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.2 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-2.0.0.rc1 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.1 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.0 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.7.0.beta1 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.6.3 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.6.2 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.6.1 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.6.0 app/indexers/curation_concerns/admin_set_indexer.rb
curation_concerns-1.5.0 app/indexers/curation_concerns/admin_set_indexer.rb