You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2018/08/06 04:16:14 UTC

[41/48] lucene-solr:jira/http2: SOLR-12614: Make "Nodes" view the default in AdminUI "Cloud" tab

SOLR-12614: Make "Nodes" view the default in AdminUI "Cloud" tab


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

Branch: refs/heads/jira/http2
Commit: f8db5d0afd34ebea4ae414a2eb148f926830be34
Parents: 0b59b0e
Author: Jan Høydahl <ja...@apache.org>
Authored: Fri Aug 3 23:20:48 2018 +0200
Committer: Jan Høydahl <ja...@apache.org>
Committed: Fri Aug 3 23:20:48 2018 +0200

----------------------------------------------------------------------
 solr/CHANGES.txt                                | 5 +++++
 solr/webapp/web/js/angular/controllers/cloud.js | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f8db5d0a/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index b9846bd..314d045 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -44,6 +44,11 @@ Upgrade Notes
   MemoryDocValues). If you used postingsFormat="Memory" or docValuesFormat="Memory"
   switch to "Direct" instead. (Dawid Weiss)
 
+Other Changes
+----------------------
+
+* SOLR-12614: Make "Nodes" view the default in AdminUI "Cloud" tab (janhoy)
+
 ==================  7.5.0 ==================
 
 Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f8db5d0a/solr/webapp/web/js/angular/controllers/cloud.js
----------------------------------------------------------------------
diff --git a/solr/webapp/web/js/angular/controllers/cloud.js b/solr/webapp/web/js/angular/controllers/cloud.js
index 08eea38..a033ce5 100644
--- a/solr/webapp/web/js/angular/controllers/cloud.js
+++ b/solr/webapp/web/js/angular/controllers/cloud.js
@@ -28,7 +28,7 @@ solrAdminApp.controller('CloudController',
             $scope.showDebug = false;
         };
 
-        var view = $location.search().view ? $location.search().view : "graph";
+        var view = $location.search().view ? $location.search().view : "nodes";
         if (view === "tree") {
             $scope.resetMenu("cloud-tree", Constants.IS_ROOT_PAGE);
             treeSubController($scope, Zookeeper);