PagerBundle
PagerBundle copied to clipboard
An easy to use pagination bundle for symfony2
I have replaced from Twig_Function_Method to Twig_SimpleFunction. Because I got this error. "The Twig_Function_Method class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFunction instead."
is there anyway to sort the pager? after creating it with and DoctrineOrmAdapter
Fixed an incorrect calculation of the number of objects, using JOIN.
If page = 20 and maximum number of displayed pages 10, current 18, then: Old implementation: tmp = 18 - 5 = 13 begin = 13 end = 20 Total...
Hi, i'm just added a MongoDBAdapter not heavly tested but it seams to work.
Twig usage example: ``` {{ paginate_with_limit(pager, 'route_name', [10, 20, 50, 100]) }} ``` PHP usage example: ``` php ``` This will create the default pagination with a drop down list...