Source: site.view [edit]
Function name: issues
Arguments: module
Description: Lists issues in a module. OPTIONAL ARGS may specify "all", or one of the categories "issueOpen", "issueInProgress", "issueFixed", "issueWontFix", "issueDuplicate", "issueCannotReproduce", "issueVerified", "issueClosed"
Page type: webl
Render function:   renderIssues
Module: siteutil

Page source:

var issues = [. module=module .];
var filter = "all";
if Size(OPTIONALARGS) > 0 then
   filter = OPTIONALARGS[0]
end;
issues.filter := filter;
  
every func in Wub_FunctionList(module) do
   var fname = module + "." + func;
   var fi = Wub_GetFunctionInfo(fname);
   if (fi.flags member ["issueOpen", "issueInProgress", "issueFixed", "issueWontFix", "issueDuplicate", 
                     "issueCannotReproduce", "issueVerified", "issueClosed"]) then
   
      var info = [. name=func, desc=fi.description, assigned=fi.test, tags=fi.tags .];
      if (filter == "all") or (fi.flags == filter) then
         issues[fi.flags] := (issues[fi.flags] + [info] ? [info])
      end
   end
end;
issues;