app/service_adaptors/hathi_trust.rb in umlaut-4.0.0.beta5 vs app/service_adaptors/hathi_trust.rb in umlaut-4.0.0

- old
+ new

@@ -125,11 +125,10 @@ # the parameters for the particular service # FIXME consider moving this into metadata_helper def get_bibkey_parameters(rft) # filter out special chars that ought not to be in there anyway, # and that HathiTrust barfs on. - isbn = get_identifier(:urn, "isbn", rft) - isbn = isbn.gsub(/[\-\[\]]/, '') unless isbn.blank? + isbn = get_isbn(rft) oclcnum = get_identifier(:info, "oclcnum", rft) oclcnum = oclcnum.gsub(/[\-\[\]]/, '') unless oclcnum.blank? lccn = get_lccn(rft)