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:34:43 UTC
lucene-solr:master: SOLR-11648: Do not show suggestions menu item in
standalone solr mode
Repository: lucene-solr
Updated Branches:
refs/heads/master f282a855f -> 7d9783d20
SOLR-11648: Do not show suggestions menu item in standalone solr mode
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/7d9783d2
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/7d9783d2
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/7d9783d2
Branch: refs/heads/master
Commit: 7d9783d20136e30fe50adc438bf8c894af2fb51e
Parents: f282a85
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:04:36 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/7d9783d2/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/7d9783d2/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 = {};