We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bc002a + 8f10c56 commit 47ebc6bCopy full SHA for 47ebc6b
src/Controller/SearchController.php
@@ -45,7 +45,7 @@ public function search(): Response
45
$tnt->selectIndex('records.index');
46
47
$results = $tnt->search($searchTerm, 10000);
48
- $records = $this->repository->findBy(['id' => $results['ids'], 'status' => Statuses::PUBLISHED]]);
+ $records = $this->repository->findBy(['id' => $results['ids'], 'status' => Statuses::PUBLISHED]);
49
$records = new Pagerfanta(new ArrayAdapter($records));
50
$records->setMaxPerPage($amountPerPage);
51
$records->setCurrentPage($page);
0 commit comments