Hey @lemmy,
If you flash() then this is only persistent for one request.
What you could do is simply store what you need to store in session variable like so: https://laravel.com/docs/master/session#storing-data
I tend to use these days Livewire more for this stuff as it makes of of that flow much more intuitive where you could have I Livewire component with one function responsible for index and search and then one for edit all on the same page.
Hope it helps!