diff --git a/platform/search/src/controllers/SearchMenuController.js b/platform/search/src/controllers/SearchMenuController.js index 248264a37a..c1ef7d66d8 100644 --- a/platform/search/src/controllers/SearchMenuController.js +++ b/platform/search/src/controllers/SearchMenuController.js @@ -43,7 +43,8 @@ define(function () { // On initialization, fill the scope's types with type keys types.forEach(function (type) { // We only want some types, the ones that are probably human readable - if (type.key && type.name) { + // Manually remove 'root', but not 'unknown' + if (type.key && type.name && type.key !== 'root') { $scope.ngModel.types.push(type); $scope.ngModel.checked[type.key] = false; }