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
@@ -67,8 +67,8 @@ angular.module('kibana.table', [])
$scope.get_data();
}
$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)
$scope.panel.offset = 0;
$scope.get_data();
eventBus.broadcast($scope.$id,$scope.panel.group,'query',$scope.panel.query);