diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 2b222885..44a47f84 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -19,3 +19,6 @@ *= require 'blacklight_range_limit' * */ +#contents { + scroll-margin-top: 75vh; +} diff --git a/app/helpers/um_arclight_helper.rb b/app/helpers/um_arclight_helper.rb index 20349e72..7440242e 100644 --- a/app/helpers/um_arclight_helper.rb +++ b/app/helpers/um_arclight_helper.rb @@ -65,7 +65,7 @@ def render_search_as_breadcrumbs_to_page_title(search_state_or_params) # rubocop _title = title.join(' ') end - SKIPPABLE_KEYS = ['containers', 'physdesc_tesim', 'creators_ssim', 'abstract_tesim', 'scopecontent_tesim'] + SKIPPABLE_KEYS = ['containers', 'physdesc_tesim', 'creators_ssim', 'abstract_tesim', 'scopecontent_tesim', 'note_tesim', 'odd_tesim'] def is_interesting_component?(document) (blacklight_config.component_fields.keys.find do |key| (SKIPPABLE_KEYS.exclude?(key) && document.fetch(key, nil).present?) diff --git a/app/models/solr_document.rb b/app/models/solr_document.rb index 3db516f5..06044fa5 100644 --- a/app/models/solr_document.rb +++ b/app/models/solr_document.rb @@ -73,7 +73,9 @@ def languages def abstract_or_scope abstracts = fetch('abstract_tesim', []) scopes = fetch('scopecontent_tesim', []) - values = (abstracts + scopes).uniq { |v| ActionController::Base.helpers.strip_tags(v) }.join(' ') + odds = fetch('odd_tesim', []) + notes = fetch('note_tesim', []) + values = (abstracts + scopes + odds + notes).uniq { |v| ActionController::Base.helpers.strip_tags(v) }.join(' ') render_html_tags(value: [values]) if values.present? end