You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2015/06/02 23:52:12 UTC

incubator-zeppelin git commit: ZEPPELIN-88: Group label truncated when containing periods

Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master b74bdb66f -> fa61a054f


ZEPPELIN-88: Group label truncated when containing periods

Fix column name for group.

Author: Emmanuelle Raffenne <er...@keedio.com>

Closes #82 from eraffenne/bugfix/zeppelin-88 and squashes the following commits:

2524ddb [Emmanuelle Raffenne] Fix column name for group.


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

Branch: refs/heads/master
Commit: fa61a054fe6ab32d506bc034540ff3191c59034e
Parents: b74bdb6
Author: Emmanuelle Raffenne <er...@keedio.com>
Authored: Tue May 26 14:44:53 2015 +0200
Committer: Lee moon soo <mo...@apache.org>
Committed: Wed Jun 3 06:52:04 2015 +0900

----------------------------------------------------------------------
 zeppelin-web/app/scripts/controllers/paragraph.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/fa61a054/zeppelin-web/app/scripts/controllers/paragraph.js
----------------------------------------------------------------------
diff --git a/zeppelin-web/app/scripts/controllers/paragraph.js b/zeppelin-web/app/scripts/controllers/paragraph.js
index bb8e19d..e332e60 100644
--- a/zeppelin-web/app/scripts/controllers/paragraph.js
+++ b/zeppelin-web/app/scripts/controllers/paragraph.js
@@ -1346,7 +1346,7 @@ angular.module('zeppelinWebApp')
       if (groups.length === 1 && values.length === 1) {
         for (d3gIndex = 0; d3gIndex < d3g.length; d3gIndex++) {
           var colName = d3g[d3gIndex].key;
-          colName = colName.split('.')[0];
+          colName = colName.substring(0, colName.lastIndexOf("."));
           d3g[d3gIndex].key = colName;
         }
       }