Complete pagination changes
This commit is contained in:
parent
d10fff12d4
commit
f92247cc6f
|
@ -35,7 +35,7 @@ class RawFinder implements FinderInterface, PaginatedFinderInterface
|
|||
/**
|
||||
* Gets a paginator wrapping the result of a search
|
||||
*
|
||||
* @return Paginator
|
||||
* @return Pagerfanta
|
||||
**/
|
||||
public function findPaginated($query)
|
||||
{
|
||||
|
@ -43,7 +43,7 @@ class RawFinder implements FinderInterface, PaginatedFinderInterface
|
|||
$results = $this->searchable->search($queryObject)->getResults();
|
||||
$paginatorAdapter = $this->createPaginatorAdapter($queryObject);
|
||||
|
||||
return new Paginator($paginatorAdapter);
|
||||
return new Pagerfanta($paginatorAdapter);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue