lib/relaton_jis/hit_collection.rb in relaton-jis-1.14.4 vs lib/relaton_jis/hit_collection.rb in relaton-jis-1.16.0
- old
+ new
@@ -62,10 +62,10 @@
def create_relation(hit)
docid = RelatonBib::DocumentIdentifier.new id: hit.hit[:id], type: "JIS", primary: true
fref = RelatonBib::FormattedRef.new content: hit.hit[:id]
bibitem = BibliographicItem.new docid: [docid], formattedref: fref
- RelatonBib::DocumentRelation.new(type: "instance", bibitem: bibitem)
+ RelatonBib::DocumentRelation.new(type: "instanceOf", bibitem: bibitem)
end
#
# Return parts of reference
#