Skip to content

Conversation

py39cptCiolacu
Copy link

@py39cptCiolacu py39cptCiolacu commented Jun 1, 2025

I've added a new attribute for Pagination - default_per_page.

  • if per_page is not provided per_page = default_per_page
  • if per_page is invalid (less than 1) AND error_out = False, per_page = default_per_page

fixes #1362

@py39cptCiolacu py39cptCiolacu changed the title fixes #1362 #1362 - default_per_page in Pagination Jun 1, 2025
@davidism davidism changed the title #1362 - default_per_page in Pagination default_per_page in Pagination Jun 1, 2025
@py39cptCiolacu py39cptCiolacu requested a review from davidism June 2, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

provide a default_per_page setting
2 participants