You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2016/11/10 14:25:47 UTC

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

Repository: nifi
Updated Branches:
  refs/heads/master 435d9cf35 -> b426de179


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


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/b426de17
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/b426de17
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/b426de17

Branch: refs/heads/master
Commit: b426de179318daef15019157d683265061728db9
Parents: 435d9cf
Author: Scott Aslan <sc...@gmail.com>
Authored: Wed Nov 9 20:34:11 2016 -0500
Committer: Matt Gilman <ma...@gmail.com>
Committed: Thu Nov 10 09:25:08 2016 -0500

----------------------------------------------------------------------
 .../src/main/webapp/js/nf/summary/nf-summary-table.js            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/b426de17/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js
index 11eec7e..10ac093 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js
@@ -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');