FIXED: Incorrect paging on full text search results

This commit is contained in:
Damian Mooyman 2012-09-17 16:51:20 +12:00
parent 3291147c8e
commit 37199fc08c
1 changed files with 1 additions and 0 deletions

View File

@ -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);