Tasklist plugin custom query

Hi Camunda folks,

I am overriding the Camunda tasklist search in the UI with custom search, and my search function is:

var SearchController = function($scope, $http, Uri, $location, search) {
          $scope.searchQuery = "";
          $scope.executeSearch = function() {			
                var searchData = $scope.tasklistData.newChild($scope);		
                var query = {"processVariables"[{"name":"SEARCH","operator":"like","value":"%"+$scope.searchQuery+"%"}]};		
		        query = searchData.set('searchQuery', query);
	}

I am able to add more conditions in query like :

var query = {"processVariables"[{"name":"SEARCH","operator":"like","value":"%"+$scope.searchQuery+"%"}], "processIdLike": "%"+$scope.searchQuery+"%"};

but the conditions are being added as “AND”(all the criteria should meet), what I want is an “OR”. I tried adding :

var query = {"processVariables"[{"name":"SEARCH","operator":"like","value":"%"+$scope.searchQuery+"%"}] || "processIdLike": "%"+$scope.searchQuery+"%"};

but that gives syntax error. Any inputs are helpful.