MNT Replaced SearchContext::getQuery limit param with null (#367)

This commit is contained in:
Sabina Talipova 2023-07-05 17:20:56 +12:00 committed by GitHub
parent 829cacff0b
commit a2ea473369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class GridFieldAddExistingSearchHandler extends RequestHandler
public function doSearch($data, $form)
{
$list = $this->context->getQuery($data, false, false, $this->getSearchList());
$list = $this->context->getQuery($data, false, null, $this->getSearchList());
$list = $list->subtract($this->grid->getList());
$list = PaginatedList::create($list, $this->request);