BUG PaginatedList deprecated method was calling non-existent method

This commit is contained in:
Jeremy Thomerson 2013-01-15 13:25:16 -06:00
parent 014f541a89
commit a70df3e472

View File

@ -438,7 +438,7 @@ class PaginatedList extends SS_ListDecorator {
Deprecation::notice('3.0', 'Use setPageStart, setPageLength, or setTotalItems instead.'); Deprecation::notice('3.0', 'Use setPageStart, setPageLength, or setTotalItems instead.');
$this->setPageStart($pageStart); $this->setPageStart($pageStart);
$this->setPageLength($pageLength); $this->setPageLength($pageLength);
$this->setTotalSize($totalSize); $this->setTotalItems($totalSize);
return $this; return $this;
} }