Module:Team appearances list: Difference between revisions

Content deleted Content added
y will always be greater than the begin year, which means even if we've overrun the end year it will still add the number. Thus, switch the if statements
of course, if the year *is* the end year, it should still print. Change to "y > end_year"
Line 119:
if COMPETITIONS[args.competition] then
for _, y in pairs(COMPETITIONS[args.competition]) do
if end_year and y >= end_year then
break
elseif not begin_year or y >= begin_year then