Skip to content

Commit

Permalink
MNT Replaced SearchContext::getQuery limit param with null (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabina-talipova authored Jul 5, 2023
1 parent 829cacf commit a2ea473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GridFieldAddExistingSearchHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function SearchForm()

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

Expand Down

0 comments on commit a2ea473

Please sign in to comment.