lib/relaton_iso/document_identifier.rb in relaton-iso-1.13.4 vs lib/relaton_iso/document_identifier.rb in relaton-iso-1.13.5
- old
+ new
@@ -1,8 +1,8 @@
module RelatonIso
class DocumentIdentifier < RelatonBib::DocumentIdentifier
def id
- id_str = @id.to_s(format: :ref_num_long).sub(/\sED\d+/, "")
+ id_str = @id.to_s.sub(/\sED\d+/, "")
if @all_parts
if type == "URN"
return "#{@id.urn}:ser"
else
return "#{id_str} (all parts)"