Merge pull request #584 from silverstripe-droptables/ssexpress

BUG: notify PaginatedList the full-text results are already limited.
This commit is contained in:
Ingo Schommer 2012-06-27 23:59:01 -07:00
commit 63afdba7a5

View File

@ -880,6 +880,9 @@ class MySQLDatabase extends SS_Database {
$list->setPageLEngth($pageLength);
$list->setTotalItems($totalCount);
// The list has already been limited by the query above
$list->setLimitItems(false);
return $list;
}