Module: Hydra
- Extended by:
- Deprecation
- Defined in:
- lib/hydra/mods_article.rb,
lib/hydra/mods.rb,
lib/hydra/mods_image.rb,
lib/hydra/mods_dataset.rb,
lib/hydra/mods_generic_content.rb,
app/models/hydra/datastream/mods_basic.rb,
app/models/hydra/datastream/mods_image.rb,
app/models/hydra/datastream/mods_article.rb,
app/models/hydra/datastream/mods_dataset.rb,
app/models/hydra/datastream/mods_generic_content.rb,
app/models/hydra/datastream/common_mods_index_methods.rb
Overview
Provides some helper methods for indexing compound or non-standard facets
this code will move to lib/hydra/datastream/mods_name_behavior.rb (with the appropriate namespace changes) in Hydra 5.0
Methods
extract_person_full_names
This method returns a Hash of person_full_name_facet values which combine Lastname, Firstname
extract_person_organizations
This method returns a Hash of person_full_name_facet values which extract the persons affiliation and puts it in an mods_organization_facet
Defined Under Namespace
Modules: CommonModsIndexMethods, Datastream, ModelMixins Classes: ModsArticle, ModsDataset, ModsGenericContent, ModsImage