Pagerfanta
Pagerfanta copied to clipboard
Pagination for PHP.
Hi. Interface segregation says: dont depend on something you dont need. Why not to add an interface that can only get current page itmes, nbPages, nbItems but without getPageX stuff....
Hi. How can I add a new option "All entries" when in Pagerfanta class we have method like: ``` private function checkMaxPerPage($maxPerPage) { if (!is_int($maxPerPage)) { throw new NotIntegerMaxPerPageException(); }...
Ampersands are not properly encoded when the urls are generated (for example: `http://example.com/?q=example&page=1` instead of `http://example.com/?q=example&page=1`) I know in html5 it is not required to do this (http://stackoverflow.com/questions/19441750/do-ampersands-still-need-to-be-encoded-in-urls-in-html5) but it...
In order to avoid the potential count query for pagers the Drupal project uses a common pattern since quite a while which allows you to skip the count query in...
Issue when getCurrentPage returns 0, offset becomes -10
https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle/pull/74