You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ch...@apache.org on 2017/11/23 12:37:27 UTC

kylin git commit: Revert "KYLIN-3049 Filter the invalid zero value of 'Auto Merge Thresholds' parameter when you create or upate a cube."

Repository: kylin
Updated Branches:
  refs/heads/master 3536e5219 -> d837e18eb


Revert "KYLIN-3049 Filter the invalid zero value of 'Auto Merge Thresholds' parameter when you create or upate a cube."

This reverts commit f48208c143d6b26f778b3e6cb29ce57ac98aa1a3.


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

Branch: refs/heads/master
Commit: d837e18ebb8503ef5346a2602a908492868c0e3e
Parents: 3536e52
Author: chenzhx <ch...@apache.org>
Authored: Thu Nov 23 20:36:56 2017 +0800
Committer: chenzhx <ch...@apache.org>
Committed: Thu Nov 23 20:36:56 2017 +0800

----------------------------------------------------------------------
 webapp/app/js/utils/utils.js | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/d837e18e/webapp/app/js/utils/utils.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/utils/utils.js b/webapp/app/js/utils/utils.js
index c0403d2..30ad261 100644
--- a/webapp/app/js/utils/utils.js
+++ b/webapp/app/js/utils/utils.js
@@ -110,15 +110,6 @@ KylinApp.factory('VdmUtil', function ($modal, $timeout, $location, $anchorScroll
       }else{
         newObj=angular.extend({},needFilterObj);
       }
-      function removeByValue(arr,val){
-        for(var i=arr.length-1; i>=0; i--) {
-          if(arr[i] == val) {
-            arr.splice(i, 1);
-          }
-        }
-      }
-      var autoMergeTimeRanges = newObj.auto_merge_time_ranges;
-      removeByValue(autoMergeTimeRanges,0);
       function filterData(data){
         var obj=data;
         for(var i in obj){