Skip to content

Commit 47ebc6b

Browse files
authored
Merge pull request #5 from nestordedios/patch-2
Fix unexpected ], expected ) error
2 parents 2bc002a + 8f10c56 commit 47ebc6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/SearchController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function search(): Response
4545
$tnt->selectIndex('records.index');
4646

4747
$results = $tnt->search($searchTerm, 10000);
48-
$records = $this->repository->findBy(['id' => $results['ids'], 'status' => Statuses::PUBLISHED]]);
48+
$records = $this->repository->findBy(['id' => $results['ids'], 'status' => Statuses::PUBLISHED]);
4949
$records = new Pagerfanta(new ArrayAdapter($records));
5050
$records->setMaxPerPage($amountPerPage);
5151
$records->setCurrentPage($page);

0 commit comments

Comments
 (0)