Skip to content

feat: customise pagination options for listings #13126

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mcanouil
Copy link
Collaborator

@mcanouil mcanouil commented Jul 24, 2025

Add support for custom pagination options in listings, allowing users to define parameters such as inner and outer window sizes. This enhancement improves flexibility in displaying paginated content.

Options from https://listjs.com/docs/pagination/

Default is unchanged but could be customised:

listing:
  pagination:
    inner-window: 2
    outer-window: 0
    outer-window-left: 0
    outer-window-right: 0

@mcanouil mcanouil self-assigned this Jul 24, 2025
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jul 24, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

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

Successfully merging this pull request may close these issues.

2 participants