diff --git a/solr/webapp/web/js/angular/controllers/schema-browser.js b/solr/webapp/web/js/angular/controllers/schema-browser.js index dac6c497740..a02dd54d275 100644 --- a/solr/webapp/web/js/angular/controllers/schema-browser.js +++ b/solr/webapp/web/js/angular/controllers/schema-browser.js @@ -33,6 +33,7 @@ solrAdminApp.controller('SchemaBrowserController', var search = $location.search(); leftbar = {}; $scope.isField = $scope.isDynamicField = $scope.isType = false; + $scope.showing = true; if (search.field) { $scope.selectedType = "Field"; $scope.is.field = true; @@ -59,6 +60,8 @@ solrAdminApp.controller('SchemaBrowserController', leftbar.fields = filterFields("fields", data, $scope.name); leftbar.dynamicFields = filterFields("dynamic_fields", data, $scope.name); $scope.fieldOrType = "type=" + $scope.name; + } else { + $scope.showing = false; } $scope.leftbar = leftbar; $scope.core = $routeParams.core; diff --git a/solr/webapp/web/partials/schema-browser.html b/solr/webapp/web/partials/schema-browser.html index d5928431b78..f4084196f5e 100644 --- a/solr/webapp/web/partials/schema-browser.html +++ b/solr/webapp/web/partials/schema-browser.html @@ -22,7 +22,7 @@ limitations under the License.