Skip to content

Commit

Permalink
Max results set to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
corkyw10 committed Jan 30, 2019
1 parent 80f2a04 commit 3a693d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository/SearchRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function getSearchResults($searchTerm) {
->where('s.name LIKE :searchTerm')
->setParameter('searchTerm', '%'.addcslashes($searchTerm, '%_').'%')
->orderBy('s.name', 'ASC')
->setMaxResults(10)
->setMaxResults(50)
->getQuery()
->getResult();
}
Expand Down

0 comments on commit 3a693d8

Please # to comment.