app/controllers/search_methods/sfx4.rb in umlaut-3.0.0beta9 vs app/controllers/search_methods/sfx4.rb in umlaut-3.0.0beta10

- old
+ new

@@ -154,11 +154,11 @@ # Start out wtih everything in search, to preserve date/vol/etc ctx.import_context_object( context_object_from_params ) extra_info_xml = Nokogiri::XML( sfx_obj["EXTRA_INFO_XML"] ) - # Put SFX object id in rft.object_id, that's what SFX does. - ctx.referent.set_metadata('object_id', sfx_obj["OBJECT_ID"]) + # Put SFX object id in rft.object_id, that's what SFX does. + ctx.referent.set_metadata('object_id', sfx_obj["OBJECT_ID"].to_s ) ctx.referent.set_metadata("jtitle", sfx_obj["TITLE_DISPLAY"] || "Unknown Title") issn = extra_info_xml.search("item[key=issn]").text isbn = extra_info_xml.search("item[key=isbn]").text