lib/relaton_cen/scrapper.rb in relaton-cen-1.10.0 vs lib/relaton_cen/scrapper.rb in relaton-cen-1.10.1

- old
+ new

@@ -56,10 +56,10 @@ # Fetch docid. # @param ref [String] # @return [Array<RelatonBib::DocumentIdentifier>] def fetch_docid(ref) - [RelatonBib::DocumentIdentifier.new(type: "CEN", id: ref)] + [RelatonBib::DocumentIdentifier.new(type: "CEN", id: ref, primary: true)] end # Fetch status. # @param doc [Mechanize::Page] # @return [RelatonBib::DocumentStatus, NilClass]