Skip to content

Commit

Permalink
#170 Blacklist alerts from being searched from search page
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Apr 13, 2017
1 parent 1a35403 commit 33fc6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/scripts/controllers/SearchCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
$scope.getUserInfo = UserInfoSrv;
$scope.searchResults = PSearchSrv(undefined, 'any', {
'filter': angular.fromJson($base64.decode($stateParams.q)),
'baseFilter': {_string: '!_type:audit AND !_type:data AND !_type:user AND !_type:analyzer AND !_type:case_artifact_job_log AND !status:Deleted'},
'baseFilter': {_string: '!_type:audit AND !_type:data AND !_type:user AND !_type:analyzer AND !_type:alert AND !_type:case_artifact_job_log AND !status:Deleted'},
'nparent': 10,
skipStream: true
});
Expand Down

0 comments on commit 33fc6e2

Please sign in to comment.