Repository navigation
Prevent Pagy from appending current params to pagination URLs #906
Unanswered
pontflorian
asked this question in
Q&A
Replies: 1 comment 1 reply
|
You can pass options at different levels which control what it will be affected. See Options |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm migrating from Pagy 9 to Pagy 43.
When using Pagy 43 on a page that contains a query parameters, the pagination links automatically include query parameters in the URL. (even
authenticity_tokenif a form is used)If I was on
/comments?foo=bar, pagination links are/comments?foo=bar&page=2.It was not the case on Pagy 9.
I know the querify: option exists to control this behavior per call:
But having to pass querify: on every single pagy(...) call throughout the app feels repetitive and error-prone.
Questions:
All reactions