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

Define custom value for the total of page to display inside the pagination #43447

Closed
carlitorweb opened this issue May 8, 2024 · 3 comments
Closed

Comments

@carlitorweb
Copy link
Member

Is your feature request related to a problem? Please describe.

The total of page to display is set hardcode inside the Pagination class

Describe the solution you'd like

Can be one or both:

  • Define a global configuration param
  • Define a param in the menu items where pagination is set
@brianteeman
Copy link
Contributor

What is the use case for changing this

@carlitorweb
Copy link
Member Author

carlitorweb commented May 8, 2024

Allow the users define the amount of page they want list in their pagination layout, depending of they template design. Right now if 10 is to big for your layout, as alternative, you need change the layout trought a override and hide this page list, leaving only the previous and next buttons.

@Fedik Fedik added the Feature label May 9, 2024
@carlitorweb
Copy link
Member Author

Moving the issue to discussion section

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

No branches or pull requests

4 participants