Content deleted Content added
Jackmcbarn (talk | contribs) move another if test out of a for loop |
Jackmcbarn (talk | contribs) lose the nitem variable |
||
Line 490:
function p._reviewbox(args)
local halfkeysrev, halfkeysagg = {}, {}
local flags = {}
local halfargs = {}
local j = 1
Line 518 ⟶ 517:
if not flags[halfargs[1]] then
flags[halfargs[1]] = true
j = j + 1
end
Line 530 ⟶ 529:
for k=1, #reviewer do
if reviewer[k][2] == sortedArgKeys[i] then
j = j + 1
end
Line 537 ⟶ 536:
end
end
local flags = {}
local halfargs = {}
local j = 1
Line 552 ⟶ 549:
if not flags[halfargs[1]] then
flags[halfargs[1]] = true
j = j + 1
end
Line 564 ⟶ 561:
for k=1, #aggregator do
if aggregator[k][2] == sortedArgKeys[i] then
j = j + 1
end
Line 571 ⟶ 568:
end
end
return renderMainTable(halfkeysrev, halfkeysagg, awardKeys, platforms, custome_agg, custome_rev, args)
end
|