Skip to content

Pagy max_per_page #115

@espen

Description

@espen

According to the readme:

Pagy does not have a built-in way to specify a maximum number of items per page

Pagy does support dynamic items per page with the Items plugin https://ddnexus.github.io/pagy/extras/items. In this case there is a setting Pagy::VARS[:max_items].

Can this be used instead of setting an unsupported variable in Pagy? Pagy::VARS[:max_per_page] = 100 as specified in the readme.

cc @ddnexus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions