mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
Merge pull request #229 from sanderha/3.3
fix missing pagination in search results
This commit is contained in:
commit
ba9cfcc652
@ -65,6 +65,10 @@ class SearchForm extends Form
|
||||
$searchTerms = $request->requestVar('Search');
|
||||
$query = SearchQuery::create()->addSearchTerm($searchTerms);
|
||||
|
||||
if ($start = $request->requestVar('start')) {
|
||||
$query->setStart($start);
|
||||
}
|
||||
|
||||
$params = [
|
||||
'spellcheck' => 'true',
|
||||
'spellcheck.collate' => 'true',
|
||||
|
Loading…
x
Reference in New Issue
Block a user