Skip to content

Commit

Permalink
Merge pull request #52 from scientist-softserv/more-configurations
Browse files Browse the repository at this point in the history
🐛 Fix solr fields for facets
  • Loading branch information
kirkkwang authored Aug 29, 2024
2 parents 0c114d3 + a5120ee commit d99fd9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ class CatalogController < ApplicationController
# :index_range can be an array or range of prefixes that will be used to create the navigation
# (note: It is case sensitive when searching values)

config.add_facet_field 'campus_unit_sim', label: 'Campus', helper_method: :render_campus_facet
config.add_facet_field 'repository_sim', label: 'Repository', limit: 10
config.add_facet_field 'collection_sim', label: 'Collection', limit: 10
config.add_facet_field 'level_sim', label: 'Level', limit: 10
config.add_facet_field 'campus_unit_ssim', label: 'Campus', helper_method: :render_campus_facet
config.add_facet_field 'repository_ssim', label: 'Repository', limit: 10
config.add_facet_field 'collection_ssim', label: 'Collection', limit: 10
config.add_facet_field 'level_ssim', label: 'Level', limit: 10
config.add_facet_field 'creator_ssim', label: 'Creator', limit: 10
config.add_facet_field 'creators_ssim', label: 'Creator', show: false
config.add_facet_field 'component_level_isim', show: false
config.add_facet_field 'names_ssim', label: 'Names', limit: 10
config.add_facet_field 'geogname_sim', label: 'Place', limit: 10
config.add_facet_field 'geogname_ssim', label: 'Place', limit: 10
config.add_facet_field 'places_ssim', label: 'Places', show: false
config.add_facet_field 'access_subjects_ssim', label: 'Subject', limit: 10
config.add_facet_field 'parent_ssim', show: false
Expand Down

0 comments on commit d99fd9b

Please sign in to comment.