Apache Lucene open-source search software
SOLR-11648: Ensure cluster-suggestions page resets menu so that collection and core list are displayed on page load
Shalin Shekhar Mangar2bb6b9858201
diff --git a/solr/webapp/web/js/angular/controllers/cluster-suggestions.js b/solr/webapp/web/js/angular/controllers/cluster-suggestions.jsindex 47e428fe38d..723a92e13d3 100644--- a/solr/webapp/web/js/angular/controllers/cluster-suggestions.js+++ b/solr/webapp/web/js/angular/controllers/cluster-suggestions.js@@ -15,8 +15,9 @@limitations under the License.*/solrAdminApp.controller('ClusterSuggestionsController',-function($scope,$http) {- $scope.data={}+function($scope, $http, Constants) {+ $scope.resetMenu("cluster-suggestions", Constants.IS_ROOT_PAGE);+ $scope.data={};var dataArr =[];var dataJson = {};//function to display suggestion