|
|
@ -165,10 +165,7 @@ abstract class BaseDataProvider extends Component implements DataProviderInterfa |
|
|
|
public function getPagination() |
|
|
|
public function getPagination() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ($this->_pagination === null) { |
|
|
|
if ($this->_pagination === null) { |
|
|
|
$this->_pagination = new Pagination; |
|
|
|
$this->setPagination([]); |
|
|
|
if ($this->id !== null) { |
|
|
|
|
|
|
|
$this->_pagination->pageVar = $this->id . '-page'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return $this->_pagination; |
|
|
|
return $this->_pagination; |
|
|
|
} |
|
|
|
} |
|
|
|