Skip to content

Commit

Permalink
[Typesense] Issue when searching with queryCallback (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
karakhanyans authored Apr 2, 2024
1 parent 6e5b47d commit 3dde3c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Engines/TypesenseEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ public function search(Builder $builder)
*/
public function paginate(Builder $builder, $perPage, $page)
{
$builder->take($builder->limit ?? $perPage);

return $this->performSearch(
$builder,
$this->buildSearchParameters($builder, $page, $perPage)
Expand Down

0 comments on commit 3dde3c0

Please sign in to comment.