Introduction
Introduction Statistics Contact Development Disclaimer Help
Work around mangled .number fields in the results database - warvox - VoIP base…
Log
Files
Refs
README
---
commit d7fb0c6cad3cfc79d812be3accec650a0b7d94c5
parent b4771a83b97259eb24dc6e07ff8b00d239c7a747
Author: HD Moore <[email protected]>
Date: Sun, 10 May 2009 13:44:14 +0000
Work around mangled .number fields in the results database
Diffstat:
M bin/export_list.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bin/export_list.rb b/bin/export_list.rb
@@ -45,7 +45,7 @@ end
begin
job = DialJob.find(job.to_i)
- job.dial_results.sort{|a,b| a.number <=> b.number}.each do |r|
+ job.dial_results.sort{|a,b| a.number.to_i <=> b.number.to_i}.each do |…
if(not typ or typ.downcase == (r.line_type||"").downcase)
puts "#{r.number}\t#{r.line_type}\tbusy=#{r.busy}\trin…
end
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.