diff --git a/solr/webapp/web/js/angular/controllers/cores.js b/solr/webapp/web/js/angular/controllers/cores.js index 58ae19950e7..347dbf4c1f8 100644 --- a/solr/webapp/web/js/angular/controllers/cores.js +++ b/solr/webapp/web/js/angular/controllers/cores.js @@ -36,15 +36,15 @@ solrAdminApp.controller('CoreAdminController', } $scope.core = cores[$scope.selectedCore]; $scope.corelist = []; - $scope.otherCorelist = []; + $scope.swapCorelist = []; for (var core in cores) { $scope.corelist.push(cores[core]); if (cores[core] != $scope.core) { - $scope.otherCorelist.push(cores[core]); + $scope.swapCorelist.push(cores[core]); } } - if ($scope.otherCorelist.length>0) { - $scope.swapOther = $scope.otherCorelist[0].name; + if ($scope.swapCorelist.length>0) { + $scope.swapOther = $scope.swapCorelist[0].name; } }); }; diff --git a/solr/webapp/web/partials/cores.html b/solr/webapp/web/partials/cores.html index a605006f79d..a6bb5520346 100644 --- a/solr/webapp/web/partials/cores.html +++ b/solr/webapp/web/partials/cores.html @@ -109,7 +109,7 @@ limitations under the License.

-