Fixed NOT queries

This commit is contained in:
Rashid Khan
2013-02-20 14:58:40 -07:00
parent 8640830188
commit 5eb8c41af1
5 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ angular.module('kibana.fields', [])
eventBus.broadcast($scope.$id,$scope.panel.group,"selected_fields",$scope.active)
}
$scope.build_search = function(field, value) {
$scope.panel.query = add_to_query($scope.panel.query,field,value)
$scope.build_search = function(field, value,negate) {
$scope.panel.query = add_to_query($scope.panel.query,field,value,negate)
eventBus.broadcast($scope.$id,$scope.panel.group,'query',$scope.panel.query);
}