Module: CurationConcerns::HumanReadableType
- Extended by:
- ActiveSupport::Concern
- Included in:
- AdminSetBehavior, CollectionBehavior, FileSetBehavior, WorkBehavior
- Defined in:
- app/models/concerns/curation_concerns/human_readable_type.rb
Instance Method Summary collapse
Instance Method Details
#to_solr(solr_doc = {}) ⇒ Object
10 11 12 13 14 15 |
# File 'app/models/concerns/curation_concerns/human_readable_type.rb', line 10 def to_solr(solr_doc = {}) super(solr_doc).tap do |doc| doc[Solrizer.solr_name('human_readable_type', :facetable)] = human_readable_type doc[Solrizer.solr_name('human_readable_type', :stored_searchable)] = human_readable_type end end |