Content deleted Content added
some cleaning |
ok |
||
Line 44:
-- I need to be able to access extensionTag in p._main
-- these are defined on frame
local project▼
if args['project'] and args['project'] ~= '' then▼
project = args['project']▼
else▼
project = nil▼
end▼
local classes = {
{count = 0, class = 'List', category = 'List-Class'},
Line 67 ⟶ 60:
{count = 0, class = 'Unassessed', category = 'Unassessed'}
}
▲ local project
▲ if args['project'] and args['project'] ~= '' then
▲ project = args['project']
▲ else
▲ project = nil
▲ end
local sum_classes = 0
▲ if project then
class['count'] = category_count(class['category'], project)
if class['class'] == 'FA' then
Line 79 ⟶ 78:
)
end
sum_classes = sum_classes + class['count']▼
elseif args[i] then▼
end
class['count'] = tonumber(args[i])▼
else
for i, class in pairs(classes) do
▲ class['count'] = tonumber(args[i])
sum_classes = sum_classes + class['count']
end
end
▲ sum_classes = sum_classes + class['count']
end
|