protected function filterBySearch(Params $params, QueryBuilder $qb)
    {
        if ($query = $params->getWrapped('search')->get('value')) {
            $this->searchFilter($params, $qb, $query);
        }

        return $this;
    }
protected function filterBySearch(Params $params, QueryBuilder $qb)
    {
        if ($query = $params->getWrapped('search')->get('value')) {
            $this->searchFilter($params, $qb, $query);
        }

        return $this;
    }
protected function filterBySearch ( Params $ params , QueryBuilder $ qb ) { if ( $ query = $ params -> getWrapped ( 'search' ) -> get ( 'value' ) ) { $ this -> searchFilter ( $ params , $ qb , $ query ) ; } return $ this ; }
Default search hook for datatables

@param Params       $params
@param QueryBuilder $qb

@return $this
Default search hook for datatables