mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 15:05:45 +00:00
FIXED: Incorrect paging on full text search results
This commit is contained in:
parent
3291147c8e
commit
37199fc08c
@ -1779,6 +1779,7 @@ class PostgreSQLDatabase extends SS_Database {
|
||||
if(isset($objects)) $results = new ArrayList($objects);
|
||||
else $results = new ArrayList();
|
||||
$list = new PaginatedList($results);
|
||||
$list->setLimitItems(false);
|
||||
$list->setPageStart($start);
|
||||
$list->setPageLength($pageLength);
|
||||
$list->setTotalItems($totalCount);
|
||||
|
Loading…
x
Reference in New Issue
Block a user