Skip to content

Commit

Permalink
update program_tesim to program_sim
Browse files Browse the repository at this point in the history
  • Loading branch information
jendiamond committed Nov 28, 2023
1 parent d363ac2 commit 0e1bf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class CatalogController < ApplicationController
# solr fields that will be treated as facets by the blacklight application
# The ordering of the field names is the order of the display

config.add_facet_field 'program_tesim', label: 'Program', limit: 5
config.add_facet_field 'program_sim', label: 'Program', limit: 5
config.add_facet_field 'combined_subject_ssim', limit: 5, label: 'Subject'
# config.add_facet_field ::Solrizer.solr_name('resource_type', :facetable), limit: 5 same as : config.add_facet_field 'resource_type_sim', limit: 5
config.add_facet_field 'human_readable_resource_type_sim', limit: 5, label: 'Resource Type'
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/catalog_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
'generic_type',
'member_of_collections',
'repository',
'program_tesim']
'program']
end

it 'has exactly expected facets' do
Expand Down

0 comments on commit 0e1bf7c

Please sign in to comment.