Skip to content

Pagy with Turbo #421

Closed Answered by KillWolf
KillWolf asked this question in Q&A
Discussion options

You must be logged in to vote

Hey guys,
Sorry for the late reply, Christmas holiday and all.

Thanks for the response, it's really great insight.

However, our solution was in the end by updating to the latest version (6) and use fragment and request_path to handle the change between actions.

Our initial pagination calls searchkick for a result set. If the user searches, we go to the post (to update all the things we need). In the post action, we tell pagy to go the get action but with updated params. This works like a charm.

Thanks for an absolutely wonderful gem.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ddnexus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants