[NIFI-3012] update regex for the summary tables input, output, transferred, received, and sent column parse function. This closes #1197

This commit is contained in:
Scott Aslan 2016-11-09 20:34:11 -05:00 committed by Matt Gilman
parent 435d9cf353
commit b426de1793
1 changed files with 2 additions and 2 deletions

View File

@ -2115,8 +2115,8 @@ nf.SummaryTable = (function () {
return aPercentUseDataSize - bPercentUseDataSize;
}
} else if (sortDetails.columnId === 'sent' || sortDetails.columnId === 'received' || sortDetails.columnId === 'input' || sortDetails.columnId === 'output' || sortDetails.columnId === 'transferred') {
var aSplit = a[sortDetails.columnId].split(/ \/ /);
var bSplit = b[sortDetails.columnId].split(/ \/ /);
var aSplit = a[sortDetails.columnId].split(/\(([^)]+)\)/);
var bSplit = b[sortDetails.columnId].split(/\(([^)]+)\)/);
var mod = sortState[tableId].count % 4;
if (mod < 2) {
$('#' + tableId + ' span.' + sortDetails.columnId + '-title').addClass('sorted');