Pagerfanta
Pagerfanta copied to clipboard
Pagination for PHP.
Hi, maybe it's possible to add dynamodb adapter ?
Hi, Is there a config setting for specifying the default maximum number of items per page? I'm using Sylius which comes with Pagerfanta, but so far I haven't been able...
My query builder looks like this: ``` $queryBuilder = new QueryBuilder($db); $queryBuilder ->select('i.*', 'u.name', '(SELECT count(v.id) FROM my_vote v WHERE v.image_id = i.id) AS votes') ->from('my_image', 'i') ->leftJoin('i', 'my_user', 'u',...
If page is greater than 1 throws currentPageOutOfRange error becouse the comparison is wrong, it need to be equal o more than 1 or less than max pages.
Hey. Does this look right? An adapter for the official [Elasticsearch PHP library](https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/index.html)
I'm using ``` php $products = new Pagerfanta(new DoctrineORMAdapter($queryBuilder, true, null)); $products->setMaxPerPage(10); ``` And my twig looks like, ``` twig {% for product in products %} LENGTH = {{ loop.length...
adds an adapter that allows you to define a callback to be applied to all items before theyre given to the paginator
Import https://github.com/adrienbrault/pagerfanta-iterator
There are 2 tables. Each has it's own pager. I want that the user can be on page 2 on the first table and on page 5 on the second...
Currently it's no possible to set fetch mode in DoctrineDbalAdapter It just returns results in getSlice method as follows: return $result->fetchAll();