Files
ephub/config/packages/knp_paginator.yaml
T

15 lines
670 B
YAML

# Pagination for the admin listings. The parameter names are the bundle defaults; they are spelled
# out anyway because the query string is a URL contract -- a filtered, sorted, paged admin view is
# meant to be linkable, and the template overrides below build their links from these names.
knp_paginator:
default_options:
page_name: page
sort_field_name: sort
sort_direction_name: direction
distinct: true
# Tailwind markup matching the rest of the app, adopted from the sibling project.
template:
pagination: '_partials/_paginator_sliding.html.twig'
sortable: '_partials/_paginator_sortable_link.html.twig'