Skip to content

Commit

Permalink
Fixes #4 Adding General Notes field. Thank You for your help @gwiedeman
Browse files Browse the repository at this point in the history
  • Loading branch information
senyzspalding committed Sep 8, 2022
1 parent 963a7e5 commit 4131372
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,12 @@ class CatalogController < ApplicationController
config.add_background_field 'custodhist_ssm', label: 'Custodial history', helper_method: :render_html_tags
config.add_background_field 'processinfo_ssm', label: 'Processing information', helper_method: :render_html_tags
config.add_background_field 'arrangement_ssm', label: 'Arrangement', helper_method: :render_html_tags
config.add_background_field 'did_note_ssm', label: 'General Note', helper_method: :render_html_tags
config.add_background_field 'accruals_ssm', label: 'Accruals', helper_method: :render_html_tags
config.add_background_field 'phystech_ssm', label: 'Physical / technical requirements', helper_method: :render_html_tags
config.add_background_field 'physloc_ssm', label: 'Physical location', helper_method: :render_html_tags
config.add_background_field 'descrules_ssm', label: 'Rules or conventions', helper_method: :render_html_tags

# Collection Show Page - Related Section
config.add_related_field 'relatedmaterial_ssm', label: 'Related material', helper_method: :render_html_tags
config.add_related_field 'separatedmaterial_ssm', label: 'Separated material', helper_method: :render_html_tags
Expand Down Expand Up @@ -328,6 +329,7 @@ class CatalogController < ApplicationController
config.add_component_field 'acqinfo_ssim', label: 'Acquisition information', helper_method: :render_html_tags
config.add_component_field 'appraisal_ssm', label: 'Appraisal information', helper_method: :render_html_tags
config.add_component_field 'custodhist_ssm', label: 'Custodial history', helper_method: :render_html_tags
config.add_component_field 'did_note_ssm', label: 'General Note', helper_method: :render_html_tags
config.add_component_field 'processinfo_ssm', label: 'Processing information', helper_method: :render_html_tags
config.add_component_field 'arrangement_ssm', label: 'Arrangement', helper_method: :render_html_tags
config.add_component_field 'accruals_ssm', label: 'Accruals', helper_method: :render_html_tags
Expand Down

0 comments on commit 4131372

Please sign in to comment.