lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject lucene-solr:branch_7_3: SOLR-11648: Do not show suggestions menu item in standalone solr mode
Date Mon, 19 Mar 2018 04:37:32 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_3 283e33a77 -> 3e8f539f3


SOLR-11648: Do not show suggestions menu item in standalone solr mode

(cherry picked from commit 7d9783d)

(cherry picked from commit ef62f4f)


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

Branch: refs/heads/branch_7_3
Commit: 3e8f539f3cfb24dc7aa9a01ace20ff36c992bb56
Parents: 283e33a
Author: Shalin Shekhar Mangar <shalin@apache.org>
Authored: Mon Mar 19 10:04:36 2018 +0530
Committer: Shalin Shekhar Mangar <shalin@apache.org>
Committed: Mon Mar 19 10:07:25 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/3e8f539f/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/3e8f539f/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 = {};


Mime
View raw message