mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG PaginatedList deprecated method was calling non-existent method
This commit is contained in:
parent
014f541a89
commit
a70df3e472
@ -438,7 +438,7 @@ class PaginatedList extends SS_ListDecorator {
|
||||
Deprecation::notice('3.0', 'Use setPageStart, setPageLength, or setTotalItems instead.');
|
||||
$this->setPageStart($pageStart);
|
||||
$this->setPageLength($pageLength);
|
||||
$this->setTotalSize($totalSize);
|
||||
$this->setTotalItems($totalSize);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user