diff --git a/app/models/concerns/iiif_print/set_child_flag.rb b/app/models/concerns/iiif_print/set_child_flag.rb index 69e43d43..6e40c533 100644 --- a/app/models/concerns/iiif_print/set_child_flag.rb +++ b/app/models/concerns/iiif_print/set_child_flag.rb @@ -4,7 +4,7 @@ module RDF class CustomIsChildTerm < Vocabulary('http://id.loc.gov/vocabulary/identifiers/') property 'is_child' end - class SplitFromPdfIdTerm < Vocabulary('http://id.loc.gov/vocabulary/identifiers/') + class FromPdfIdTerm < Vocabulary('http://id.loc.gov/vocabulary/identifiers/') property 'split_from_pdf_id' end end @@ -22,7 +22,7 @@ module SetChildFlag index.as :stored_searchable end property :split_from_pdf_id, - predicate: ::RDF::SplitFromPdfIdTerm.split_from_pdf_id, + predicate: ::RDF::FromPdfIdTerm.split_from_pdf_id, multiple: false do |index| index.as :stored_searchable end