+ def quickvote_candidate_ids_to_names(shortname, id_list)
+ qv=QuickVote.ident_to_quickvote(shortname)
+ candidates={}
+ return [] unless qv
+ qv.results
+ qv.candidates.each {|c| candidates[c.id] = c}
+ results=[]
+ id_list.each { |id|
+ name=candidates[id]
+ if name
+ results << name
+ else
+ results << ""
+ end
+ }
+ results
+ end