knp_paginator.yml 774 B

1234567891011
  1. knp_paginator:
  2. page_range: 5 # default page range used in pagination control
  3. default_options:
  4. page_name: page # page query parameter name
  5. sort_field_name: sort # sort field query parameter name
  6. sort_direction_name: direction # sort direction query parameter name
  7. distinct: true # ensure distinct results, useful when ORM queries are using GROUP BY statements
  8. template:
  9. pagination: MopaBootstrapBundle:Pagination:sliding.html.twig # sliding pagination controls template
  10. # sortable: MopaBootstrapBundle:Pagination:sortable_link.html.twig # sort link template
  11. # pagination: KnpPaginatorBundle:Pagination:twitter_bootstrap_v3_pagination.html.twig