Closed alhafoudh closed 4 months ago
Hey @alhafoudh !
Usually the Github issue tracker is used to report issues and bugs with the library as opposed to asking for help on specific implementation details of your app.
I recommend you post this question in the official hotwired forum at http://discuss.hotwired.dev or maybe join the StimulusReflex discourse here https://discord.gg/stimulus-reflex.
If after discussing there you realise you might have found a bug in Turbo, by all means, create an issue.
Tag me in any of those places and I'll give you a hand.
Do you think you can close this? We can see it in the discussions forum
Yes, sure. Thanks @brunoprietog
I have a paginated list of orders. Each order can be completed by link next to each order like this:
The order is updated in controller like this:
When I navigate to some page of orders, the params change to for example
/orders?page=3
. After clicking the "Complete" link the turbo-frame updates, but I get first page of orders rendered, because the turbo-frame loses params of the page and theReferer
header is the original_top
page URL.How can I fix this in turbo?