mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #584 from silverstripe-droptables/ssexpress
BUG: notify PaginatedList the full-text results are already limited.
This commit is contained in:
commit
63afdba7a5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user