Module:Tour stats: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 297: Line 297:
end
end
if options['length'] and options['length'] ~= 'No' then
if options['length'] and options['length'] ~= 'No' then
local secs = require('Module:Live song').time_to_seconds(options['length'])
local secs = require('Module:Live song')._time_to_seconds(options['length'])
table.insert(wheres, "live_songs.length >= " .. secs)
table.insert(wheres, "live_songs.length >= " .. secs)
end
end