Module:Tour stats: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 295: Line 295:
if options['cover_artist'] and options['cover_artist'] ~= 'No' then
if options['cover_artist'] and options['cover_artist'] ~= 'No' then
table.insert(wheres, "live_songs.cover = \"" .. options['cover_artist'] .. "\"")
table.insert(wheres, "live_songs.cover = \"" .. options['cover_artist'] .. "\"")
end
if options['length'] and options['length'] ~= 'No' then
end
end


Line 351: Line 354:
offset = offset,
offset = offset,
groupBy = table.concat(groups, ','),
groupBy = table.concat(groups, ','),
orderBy = 'shows.date ASC',
limit = 5000
limit = 5000
}
}