mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
Fixed syntax error in searchengine()
This commit is contained in:
parent
618d7f1137
commit
8673583f13
@ -1742,7 +1742,7 @@ class PostgreSQLDatabase extends SS_Database {
|
||||
} else {
|
||||
if(isset($objects)) $results = new DataObjectSet($objects);
|
||||
else $results = new DataObjectSet();
|
||||
$results->setPageLimits($start, $pageLength, $current+1);
|
||||
$results->setPageLimits($start, $pageLength, $totalCount);
|
||||
return $results;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user