ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-843 Minor fix
Date Mon, 18 Jan 2016 07:31:35 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 588af04b7 -> 009067c91


IGNITE-843 Minor fix


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

Branch: refs/heads/ignite-843-rc2
Commit: 009067c9108e9151d93a4897dfa5baae6c40e531
Parents: 588af04
Author: Andrey <anovikov@gridgain.com>
Authored: Mon Jan 18 14:31:53 2016 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Mon Jan 18 14:31:53 2016 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/sql-controller.js                 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/009067c9/modules/control-center-web/src/main/js/controllers/sql-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/sql-controller.js b/modules/control-center-web/src/main/js/controllers/sql-controller.js
index 1b21ae5..16b34fa 100644
--- a/modules/control-center-web/src/main/js/controllers/sql-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/sql-controller.js
@@ -780,8 +780,7 @@ consoleModule.controller('sqlController', function ($http, $timeout, $interval,
     $scope.nextPage = function(paragraph) {
         _showLoading(paragraph, true);
 
-        $http.post('/api/v1/agent/query/fetch',
-            {
+        $http.post('/api/v1/agent/query/fetch', {
                 demo: $scope.demo,
                 queryId: paragraph.queryId,
                 pageSize: paragraph.pageSize,
@@ -873,7 +872,7 @@ consoleModule.controller('sqlController', function ($http, $timeout, $interval,
     };
 
     $scope.exportCsvAll = function(paragraph) {
-        $http.post('/api/v1/agent/query/getAll', {demo: demo, query: paragraph.query, cacheName:
paragraph.cacheName})
+        $http.post('/api/v1/agent/query/getAll', {demo: $scope.demo, query: paragraph.query,
cacheName: paragraph.cacheName})
             .success(function (item) {
                 _export(paragraph.name + '-all.csv', item.meta, item.rows);
             })
@@ -1474,7 +1473,7 @@ consoleModule.controller('sqlController', function ($http, $timeout,
$interval,
 
         $scope.metadata = [];
 
-        $http.post('/api/v1/agent/cache/metadata', {demo: demo})
+        $http.post('/api/v1/agent/cache/metadata', {demo: $scope.demo})
             .success(function (metadata) {
                 $scope.metadata = _.sortBy(metadata, _.filter(metadata, function (meta) {
                     var cacheName = _mask(meta.cacheName);


Mime
View raw message