protected function searchFilter(Params $params, QueryBuilder $qb, $search)
    {
        $qb->andWhere($this->alias('id').' LIKE :search')->setParameter('search', $search);

        return $this;
    }
protected function searchFilter(Params $params, QueryBuilder $qb, $search)
    {
        $qb->andWhere($this->alias('id').' LIKE :search')->setParameter('search', $search);

        return $this;
    }
protected function searchFilter ( Params $ params , QueryBuilder $ qb , $ search ) { $ qb -> andWhere ( $ this -> alias ( 'id' ) . ' LIKE :search' ) -> setParameter ( 'search' , $ search ) ; return $ this ; }
This function is passed the datatables search query value
and should appropriately filter the query builder object
based on what makes sense for this entity.

@param Params       $params
@param QueryBuilder $qb
@param $search

@return $this
This function is passed the datatables search query value and should appropriately filter the query builder object based on what makes sense for this entity .