Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagy max_per_page #115

Open
espen opened this issue Nov 15, 2018 · 1 comment
Open

Pagy max_per_page #115

espen opened this issue Nov 15, 2018 · 1 comment

Comments

@espen
Copy link

espen commented Nov 15, 2018

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

@ddnexus
Copy link

ddnexus commented Nov 15, 2018

Also reported in #103 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants