app/presenters/hyrax/custom_iiif_manifest_presenter.rb
# Expand this to include other fields besides the required fields (default)
Expand this to include other fields besides the required fields (default)
Expand this to include other fields besides the required fields ( default )
def metadata_fields
        if hostname.include?("vault")
           [:creator_label, :creator, :contributor_label, :contributor,
           :subject_label, :subject, :publisher, :language, :identifier,
           :keyword, :date_created, :based_near_label, :related_url,
           :resource_type, :source, :rights_statement, :license, :extent,
           :alternative_title, :edition, :geographic_coverage_label,
           :geographic_coverage, :coordinates, :chronological_coverage,
           :additional_physical_characteristics, :has_format, :physical_repository_label,
           :physical_repository, :collection, :provenance, :provider_label, :provider,
           :sponsor, :genre_label, :genre, :format, :archival_item_identifier,
           :fonds_title, :fonds_creator, :fonds_description, :fonds_identifier,
           :is_referenced_by, :date_digitized, :transcript, :technical_note, :year]
        else
          Hyrax::Forms::WorkForm.required_fields
        end
      end
def metadata_fields if hostname . include? ( "vault" ) [ :creator_label , :creator , :contributor_label , :contributor , :subject_label , :subject , :publisher , :language , :identifier , :keyword , :date_created , :based_near_label , :related_url , :resource_type , :source , :rights_statement , :license , :extent , :alternative_title , :edition , :geographic_coverage_label , :geographic_coverage , :coordinates , :chronological_coverage , :additional_physical_characteristics , :has_format , :physical_repository_label , :physical_repository , :collection , :provenance , :provider_label , :provider , :sponsor , :genre_label , :genre , :format , :archival_item_identifier , :fonds_title , :fonds_creator , :fonds_description , :fonds_identifier , :is_referenced_by , :date_digitized , :transcript , :technical_note , :year ] else Hyrax :: Forms :: WorkForm . required_fields end end
Expand this to include other fields besides the required fields (default)
Expand this to include other fields besides the required fields ( default )