kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhongj...@apache.org
Subject kylin git commit: minor, dimenson column update from array to object issue fix
Date Fri, 15 Jan 2016 10:52:32 GMT
Repository: kylin
Updated Branches:
  refs/heads/2.x-staging d2bc9d140 -> 24423e121


minor, dimenson column update from array to object issue fix


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

Branch: refs/heads/2.x-staging
Commit: 24423e121719215a93f5a8ed4b1c01242246c730
Parents: d2bc9d1
Author: jian <zhongjian@apache.org>
Authored: Fri Jan 15 18:51:53 2016 +0800
Committer: jian <zhongjian@apache.org>
Committed: Fri Jan 15 18:52:18 2016 +0800

----------------------------------------------------------------------
 webapp/app/js/controllers/cubeEdit.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/24423e12/webapp/app/js/controllers/cubeEdit.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/controllers/cubeEdit.js b/webapp/app/js/controllers/cubeEdit.js
index 6efe5c1..ea9e822 100755
--- a/webapp/app/js/controllers/cubeEdit.js
+++ b/webapp/app/js/controllers/cubeEdit.js
@@ -105,9 +105,7 @@ KylinApp.controller('CubeEditCtrl', function ($scope, $q, $routeParams,
$locatio
     //add cube dimension column for specific measure
     angular.forEach($scope.cubeMetaFrame.dimensions,function(dimension,index){
       if(dimension.column){
-        angular.forEach(dimension.column,function(column,index){
-          me_columns.push(column);
-        })
+        me_columns.push(dimension.column);
       }
     });
 


Mime
View raw message