Skip to content

Change page limit globally doesn't work, he parameter page_limit has no effect  #8

Open
@philippe-levan

Description

@philippe-levan

The documentation says we can change the paginator size with

knp_paginator:
    page_limit: 3

but it has no effect. The parameter in knp should be knp_paginator.default_options.default_limit but it is not publicly accessible.

A config parameter should have an impact on the $this->itemsPerPage in the GridBuilder class. I believe the best solution should be to add a custom parameter for the datagrid bundle.

It could be the occasion to add other default parameters (like the default template for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions