You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2018/03/19 04:35:54 UTC
lucene-solr:branch_7x: SOLR-11648: Do not show suggestions menu item
in standalone solr mode
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x 5f3de8df4 -> ef62f4fdf
SOLR-11648: Do not show suggestions menu item in standalone solr mode
(cherry picked from commit 7d9783d)
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/ef62f4fd
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ef62f4fd
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ef62f4fd
Branch: refs/heads/branch_7x
Commit: ef62f4fdfc13e4f87e214e57b1931afeb73088f5
Parents: 5f3de8d
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Mon Mar 19 10:04:36 2018 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Mon Mar 19 10:05:35 2018 +0530
----------------------------------------------------------------------
solr/webapp/web/index.html | 2 +-
solr/webapp/web/js/angular/controllers/cluster-suggestions.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ef62f4fd/solr/webapp/web/index.html
----------------------------------------------------------------------
diff --git a/solr/webapp/web/index.html b/solr/webapp/web/index.html
index 54203bc..0f9ff84 100644
--- a/solr/webapp/web/index.html
+++ b/solr/webapp/web/index.html
@@ -160,7 +160,7 @@ limitations under the License.
<li id="java-properties" class="global" ng-class="{active:page=='java-props'}"><p><a href="#/~java-properties">Java Properties</a></li>
<li id="threads" class="global" ng-class="{active:page=='threads'}"><p><a href="#/~threads">Thread Dump</a></p></li>
- <li id="cluster-suggestions" class="global" ng-class="{active:page=='cluster-suggestions'}"><p><a href="#/~cluster-suggestions">Suggestions</a></p></li>
+ <li ng-show="isCloudEnabled" id="cluster-suggestions" class="global" ng-class="{active:page=='cluster-suggestions'}"><p><a href="#/~cluster-suggestions">Suggestions</a></p></li>
</ul>
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ef62f4fd/solr/webapp/web/js/angular/controllers/cluster-suggestions.js
----------------------------------------------------------------------
diff --git a/solr/webapp/web/js/angular/controllers/cluster-suggestions.js b/solr/webapp/web/js/angular/controllers/cluster-suggestions.js
index 723a92e..225f7be 100644
--- a/solr/webapp/web/js/angular/controllers/cluster-suggestions.js
+++ b/solr/webapp/web/js/angular/controllers/cluster-suggestions.js
@@ -16,7 +16,7 @@
*/
solrAdminApp.controller('ClusterSuggestionsController',
function($scope, $http, Constants) {
- $scope.resetMenu("cluster-suggestions", Constants.IS_ROOT_PAGE);
+ $scope.resetMenu("cluster-suggestion", Constants.IS_COLLECTION_PAGE);
$scope.data={};
var dataArr =[];
var dataJson = {};