Module:Tour stats: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 335: Line 335:
end
end


local offset = options['offset'] or 0
local results = cargo.query(
local results = cargo.query(
table.concat(tables, ','),
table.concat(tables, ','),
Line 340: Line 341:
{
{
where = table.concat(wheres, ' AND '),
where = table.concat(wheres, ' AND '),
join = table.concat(joins2, ',')
join = table.concat(joins2, ','),
offset = offset
}
}
)
)
Line 370: Line 372:
date_after = false,
date_after = false,
date_before = false,
date_before = false,
offset = false,
}
}