Apache Lucene open-source search software
SOLR-11648: Do not show suggestions menu item in standalone solr mode
Shalin Shekhar Mangar7d9783d20136
diff --git a/solr/webapp/web/index.html b/solr/webapp/web/index.htmlindex 54203bc00e4..0f9ff84d0a5 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>diff --git a/solr/webapp/web/js/angular/controllers/cluster-suggestions.js b/solr/webapp/web/js/angular/controllers/cluster-suggestions.jsindex 723a92e13d3..225f7be4c55 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 = {};