How to save query parameters after redirect to the index page Laravel + Inertia js #1003
Unanswered
flight1990
asked this question in
Help
Replies: 1 comment 2 replies
-
Hey @flight1990 Make sure you redirect back, not to the
|
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Hello! I have some issue. For example. I have the index page with table of users also I have some filters like sorting or searching. When I apply some filters all is good. Inertia send get request to end point, changing url query parameters for example user?search=alex
but when I click on a link to a single user's viewing page and then come back all filters are reset and url looks like /user.
How can I save my pevious url /user?search=alex???
A similar situation occurs after the user is deleted.
First I filter the data to find all the administrators url looks like /user?search=admin, after that I delete user. Then controoler redirect me back to route users.index and url looks again like /users
Beta Was this translation helpful? Give feedback.
All reactions