CharrafiMed / global-search-modal

Enhances filamentphp's global search by transforming it into a modal for a better user experience
https://filamentphp.com/plugins/charrafimed-global-search-modal
53 stars 14 forks source link

Impossible to redirect to the good resource #70

Open leobury opened 3 days ago

leobury commented 3 days ago

Hey,

Suddenly it's impossible for all my users to save both history and favourites. Do you have any ideas? I've tried updating and it doesn't work.

When I click on the saved item, I'm redirected right to the resource. This is what I have in my local storage:

image
CharrafiMed commented 2 days ago

Hey,

Suddenly it's impossible for all my users to save both history and favourites. Do you have any ideas? I've tried updating and it doesn't work.

When I click on the saved item, I'm redirected right to the resource. This is what I have in my local storage: image

hey! I didn't see the URL key in your local storage?

leobury commented 2 days ago

Hey, Suddenly it's impossible for all my users to save both history and favourites. Do you have any ideas? I've tried updating and it doesn't work. When I click on the saved item, I'm redirected right to the resource. This is what I have in my local storage: image

hey! I didn't see the URL key in your local storage?

Yes its the problem.. When we add something in favorites, the url is not saved

CharrafiMed commented 2 days ago

Did you republish your assets (art filament:assets) and clear the local storage? I think this issue is not a bug, just something in your panels! if not we can discuss more about this issue

leobury commented 2 days ago

I've just run a few tests. The problem occurs when you set a recent search as favourite. Recent searches contain a url, but when I change it to favourite, the url is lost :/

CharrafiMed commented 7 hours ago

emmm oki i will play with it