src/QueryDataTable.php
protected function prepareQuery()
    {
        if (! $this->prepared) {
            $this->totalRecords = $this->totalCount();

            if ($this->totalRecords) {
                $this->filterRecords();
                $this->ordering();
                $this->paginate();
            }
        }

        $this->prepared = true;
    }
protected function prepareQuery()
    {
        if (! $this->prepared) {
            $this->totalRecords = $this->totalCount();

            if ($this->totalRecords) {
                $this->filterRecords();
                $this->ordering();
                $this->paginate();
            }
        }

        $this->prepared = true;
    }
protected function prepareQuery ( ) { if ( ! $ this -> prepared ) { $ this -> totalRecords = $ this -> totalCount ( ) ; if ( $ this -> totalRecords ) { $ this -> filterRecords ( ) ; $ this -> ordering ( ) ; $ this -> paginate ( ) ; } } $ this -> prepared = true ; }
Prepare query by executing count, filter, order and paginate.
Prepare query by executing count filter order and paginate .