Module:Tour stats: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 407: Line 407:
result['multi_song'] = '1'
result['multi_song'] = '1'
end
end
list:node(get_row(result))
local success, row_node = pcall(get_row, result)
if success == false then
error('Too many results! Try narrowing your search criteria')
else
list:node(row_node)
end


-- For counts
-- For counts