Lines 577-585
Link Here
|
577 |
prep: function(tableData, oData) { |
577 |
prep: function(tableData, oData) { |
578 |
var uniques = {}; |
578 |
var uniques = {}; |
579 |
tableData.forEach(function(row) { |
579 |
tableData.forEach(function(row) { |
580 |
var resolvedName = getStatusName( |
580 |
var resolvedName; |
581 |
oData[0].capabilities[row.status].name |
581 |
if (row.status_alias) { |
582 |
); |
582 |
resolvedName = row.status_alias.lib; |
|
|
583 |
} else { |
584 |
resolvedName = getStatusName( |
585 |
oData[0].capabilities[row.status].name |
586 |
); |
587 |
} |
583 |
uniques[resolvedName] = 1 |
588 |
uniques[resolvedName] = 1 |
584 |
}); |
589 |
}); |
585 |
Object.keys(uniques).sort().forEach(function(unique) { |
590 |
Object.keys(uniques).sort().forEach(function(unique) { |
586 |
- |
|
|