From 7bc9b83aac7f1a8c8cb277fe08575daaa2098429 Mon Sep 17 00:00:00 2001 From: slhale Date: Fri, 14 Aug 2015 13:35:49 -0700 Subject: [PATCH] [Search] Remove unused watch --- platform/search/src/controllers/SearchController.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/platform/search/src/controllers/SearchController.js b/platform/search/src/controllers/SearchController.js index d86a38e867..51a13d5949 100644 --- a/platform/search/src/controllers/SearchController.js +++ b/platform/search/src/controllers/SearchController.js @@ -147,11 +147,6 @@ define(function () { }); $scope.ngModel.checkAll = true; - // Re-filter the results when the checked type options change - $scope.$watch("$scope.ngModel.checked", function () { - $scope.results = filter(fullResults.hits); - }); - return { /** * Search the filetree.