Duplicated url table query bug?
I build this route:
So then i visit the url, but after the page has loaded, the url changes to:
so seems it duplicates the url's querystring, one "url-encoded", and the other no
8 Replies
Are you persisting data? It could be the persisted data have been put on
wdym if im persisting data?
im just generating the url and going to the view where i have the table - only the table, anything else
im not persisting them
Ok, just do:
route might be encoding them
yeah, route encodes it
i already did that 1st
but then i changed it to array so is more easy to visualise than a raw inline string
i think filament tries to decode it but somehow misses something and just decodes it and it appends it but without removing the encoded querystring
not sure though
just what i think it could be happening
Filament will check if it's in the request, but it won't be decoding it because we don't need to encode it because the data is sanitised prior I believe. route encodes because it doesn't know what values it's acccepting. and because rotue is doing that, when filament checks it can't find our params.
makes sense yeah
ill do the inline string thing then 🤷
thanks toeknee!