protected function applySimpleFilter(Filter $filter)
    {
        $value = (array) $filter->getValue();
        if (count($value) > 1) {
            $this->query->whereIn($filter->getField(), $value);
        } else {
            $this->query->where($filter->getField(),
                $filter->getOperator(), $value[0]);
        }
    }
protected function applySimpleFilter(Filter $filter)
    {
        $value = (array) $filter->getValue();
        if (count($value) > 1) {
            $this->query->whereIn($filter->getField(), $value);
        } else {
            $this->query->where($filter->getField(),
                $filter->getOperator(), $value[0]);
        }
    }
protected function applySimpleFilter ( Filter $ filter ) { $ value = ( array ) $ filter -> getValue ( ) ; if ( count ( $ value ) > 1 ) { $ this -> query -> whereIn ( $ filter -> getField ( ) , $ value ) ; } else { $ this -> query -> where ( $ filter -> getField ( ) , $ filter -> getOperator ( ) , $ value [ 0 ] ) ; } }
Apply simple filter.

@param Filter $filter
Apply simple filter .