lib/libis/services/scope/search.rb in libis-services-0.1.12 vs lib/libis/services/scope/search.rb in libis-services-0.1.13

- old
+ new

@@ -30,10 +30,10 @@ case options[:type] || 'REPCODE' when 'REPCODE' @oracle.call('kul_packages.scope_xml_meta_file_ed', [term.upcase]) when 'ID' - @oracle.call('kul_packages.scope_xml_meta_file_by_id', term.to_i) + @oracle.call('kul_packages.scope_xml_meta_file_by_id', [term.to_i]) else raise RuntimeError, "Invalid Scope search type '#{options[:type]}'" end term = term.gsub(/[-\/]/, '_') err_file = "/nas/vol03/oracle/SCOPEP/#{term}_err.XML"