public function setGlobalSearch($globalSearch)
    {
        $this->globalSearch = $globalSearch;
        $this->queryBuilder->setSearch($globalSearch || $this->search);
        return $this;
    }
public function setGlobalSearch($globalSearch)
    {
        $this->globalSearch = $globalSearch;
        $this->queryBuilder->setSearch($globalSearch || $this->search);
        return $this;
    }
public function setGlobalSearch ( $ globalSearch ) { $ this -> globalSearch = $ globalSearch ; $ this -> queryBuilder -> setSearch ( $ globalSearch || $ this -> search ) ; return $ this ; }
set global search

@param bool $globalSearch

@return Datatable
set global search