-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I4 add units, I1 remove duplicate collection #14
Conversation
@@ -97,7 +97,7 @@ class CatalogController < ApplicationController | |||
config.add_facet_field 'geogname_sim', 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 'campus_unit_sim', label: 'Campus', helper_method: :render_campus_facet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config.add_facet_field 'campus_unit_sim', label: 'Campus', helper_method: :render_campus_facet | |
config.add_facet_field 'campus_unit_sim', label: 'Campus', helper_method: :render_campus_facet | |
can we add the linebreak back to make the separation clearer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You replaced the one line of whitespace between that set of code and the next one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I.e. it went from
config.add_facet_field 'access_subjects_ssim', label: 'Subject', limit: 10
# Have BL send all facet field names to Solr, which has been the default
to
config.add_facet_field 'access_subjects_ssim', label: 'Subject', limit: 10
config.add_facet_field 'campus_unit_sim', label: 'Campus', helper_method: :render_campus_facet
# Have BL send all facet field names to Solr, which has been the default
Related Issues:
#1 and #4
Issue 1: Child components with the attribute level="collection" are causing duplicate indexing issues. Added code to indexer to ignore child attributes that have the level="collection" attribute. It is not believed that there are any child components that will need to be indexed as collections. We may need to revisit this at a later time if we find that this is not the case.
Issue 4: IU would like to add the Campus level to indexing. This PR included an EAD with the attribute "mainagencycode" and includes modifications to the ead2_config file to add Campus to the index. The campus is now added to the show page tabs for overview and access. It has also been added as a search facet
Screenshots:
Duplicate Collections removed:
Indexing Campus:
Access Tab:
Facets:
Breadcrumbs: