Hi, I noticed that filter function doesn't work when applied to serverside datatable. It works well when serverside is turned off or applied to other charts. Here's the code:
$dataSource = function() {
return $this->src($this->params['database'])
->query($this->params['query_input'])
->pipeIf(!empty($this->params['filters']), function($node) {
$filters = $this->params['filters'];
$convertedFilters = [];
for ($i = 0; $i < sizeof($filters['filter_field']); $i++) {
$convertedFilters[] = [$filters['filter_field'][$i], $filters['filter_operator'][$i], $filters['filter_value'][$i]];
}
return $node->pipe(new Filter($convertedFilters));
})
};