Skip to content

Ensure pagination elements per page is a valid option#7680

Merged
mrcasals merged 4 commits intodevelopfrom
fix/ensure-per-page-in-options
Mar 24, 2021
Merged

Ensure pagination elements per page is a valid option#7680
mrcasals merged 4 commits intodevelopfrom
fix/ensure-per-page-in-options

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

🎩 What? Why?

When paginating elements, users can override the per_page param in the URL and this is taken into account. This could cause problems to the server when rendering big lists (imagine a list of >800 PRs being rendered at the same time).

📌 Related Issues

None

Testing

Ensure CI is green.

@mrcasals mrcasals added module: core type: fix PRs that implement a fix for a bug labels Mar 23, 2021
@mrcasals mrcasals mentioned this pull request Mar 24, 2021
@mrcasals mrcasals merged commit 307c0a8 into develop Mar 24, 2021
@mrcasals mrcasals deleted the fix/ensure-per-page-in-options branch March 24, 2021 13:36
entantoencuanto added a commit that referenced this pull request Mar 26, 2021
* develop: (64 commits)
  Fix report mailers when author is a meeting (#7683)
  New Crowdin updates (#7729)
  Fix form builder assuming proposals module availability (#7689)
  Fix a series of issues with proposal attachments in the public area (#7699)
  New Crowdin updates (#7711)
  Add accessibility labels to the <nav> menus (#7709)
  Fix heading order on the home page (#7710)
  Fix dropdown menu accessibility audits (#7708)
  Fix the aria attribute names (no aria prefix) (#7707)
  Fix validations for registration related fields in Conference form (#7675)
  New Crowdin updates (#7613)
  Use comments counter cache instead of additional query (#7627)
  Upgrade to decidim-bulletin_board 0.15.2 (#7659)
  Bump mimemagic to 0.3.6 (#7701)
  Ensure pagination elements per page is a valid option (#7680)
  Fix link to "Getting started guide" in README.adoc (#7695)
  Fix link to CONTRIBUTING.adoc in PR template (#7696)
  Fix the screen reader class name for comments opinion toggle (#7698)
  Fix initiative-m card hashtags (#7679)
  Don't run all jobs on every PR (#7693)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant