Skip to content

Commit

Permalink
Revert "Revert "feat: APPS-1692 (#940)" (#942)" (#943)
Browse files Browse the repository at this point in the history
This reverts commit 1cc7b61.
  • Loading branch information
pghorpade authored Jun 23, 2023
1 parent 1cc7b61 commit 2058b72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def self.modified_field
config.add_show_field 'interviewee_tesim'
config.add_show_field 'interviewer_tesim'
config.add_show_field 'location_tesim'
config.add_show_field 'local_identifier_ssm'
config.add_show_field 'local_identifier_ssim'
config.add_show_field 'lyricist_tesim'
config.add_show_field 'medium_tesim'
config.add_show_field 'musician_tesim'
Expand Down Expand Up @@ -217,7 +217,7 @@ def self.modified_field
# solr request handler? The one set in config[:default_solr_parameters][:qt],
# since we aren't specifying it otherwise.
config.add_search_field('all_fields', label: 'All Fields') do |field|
search_fields = 'title_tesim subject_tesim named_subject_tesim location_tesim description_tesim caption_tesim identifier_tesim local_identifier_sim ark_ssi normalized_date_tesim architect_tesim photographer_tesim'
search_fields = 'title_tesim subject_tesim named_subject_tesim location_tesim description_tesim caption_tesim identifier_tesim local_identifier_ssim ark_ssi normalized_date_tesim architect_tesim photographer_tesim'

field.solr_parameters = {
qf: search_fields,
Expand Down
2 changes: 1 addition & 1 deletion app/models/solr_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def location
end

def local_identifier
self[:local_identifier_ssm]
self[:local_identifier_ssim]
end

def longitude
Expand Down
2 changes: 1 addition & 1 deletion app/models/ucla_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ module UclaMetadata
end

property :local_identifier, predicate: ::RDF::Vocab::Identifiers.local do |index|
index.as :displayable, :facetable
index.as :symbol
end

property :finding_aid_url, predicate: ::RDF::URI.intern('http://id.loc.gov/ontologies/bibframe/findingAid') do |index|
Expand Down

0 comments on commit 2058b72

Please sign in to comment.