From 6c7f1ee0d6f57ab15702e2759545f419bcb165dd Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Mon, 13 Nov 2023 17:28:54 -0500 Subject: [PATCH] Add split_from_pdf_id term to solr document --- app/models/concerns/iiif_print/solr/document.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/concerns/iiif_print/solr/document.rb b/app/models/concerns/iiif_print/solr/document.rb index 489d9366..7d27223d 100644 --- a/app/models/concerns/iiif_print/solr/document.rb +++ b/app/models/concerns/iiif_print/solr/document.rb @@ -19,6 +19,7 @@ module IiifPrint::Solr::Document def self.decorate(base) base.prepend(self) base.send(:attribute, :is_child, Hyrax::SolrDocument::Metadata::Solr::String, 'is_child_bsi') + base.send(:attribute, :split_from_pdf_id, Hyrax::SolrDocument::Metadata::Solr::String, 'split_from_pdf_id_tsi') base.send(:attribute, :digest, Hyrax::SolrDocument::Metadata::Solr::String, 'digest_ssim') # @note These properties came from the newspaper_works gem. They are configurable.