src/Table.php
private function appendPaginationLinks()
    {
        if (class_basename($this->models) == 'LengthAwarePaginator') {
            // This set of models was paginated.  Make it append our current view variables.
            $this->models->appends(Input::only(config('gbrock-tables.key_field'),
                config('gbrock-tables.key_direction')));
        }
    }
private function appendPaginationLinks()
    {
        if (class_basename($this->models) == 'LengthAwarePaginator') {
            // This set of models was paginated.  Make it append our current view variables.
            $this->models->appends(Input::only(config('gbrock-tables.key_field'),
                config('gbrock-tables.key_direction')));
        }
    }
private function appendPaginationLinks ( ) { if ( class_basename ( $ this -> models ) == 'LengthAwarePaginator' ) { // This set of models was paginated.  Make it append our current view variables. $ this -> models -> appends ( Input :: only ( config ( 'gbrock-tables.key_field' ) , config ( 'gbrock-tables.key_direction' ) ) ) ; } }
If rows were paginated, add our variables to the pagination query string
If rows were paginated add our variables to the pagination query string