F
Filamentβ€’9mo ago
AmauryCid

Filter Table by Querystring

Hi there! Any suggestion on how could I filter a table by a url querystring parameter...? Your help is appreciated.
5 Replies
mvenghaus
mvenghausβ€’9mo ago
hey .. if it's a filter .. then you should use the filter .. if it should be always true .. i think laravel's global scopes are good for that .. and you can also manipulate the query with $table->query(....callback
AmauryCid
AmauryCidOPβ€’9mo ago
To be more precise, I intent to redirect to a resource with data in the querystring to filter a table on that resource. Sorry for not being specific before.
mvenghaus
mvenghausβ€’9mo ago
then use a standard filter und don't show it πŸ™‚ https://discord.com/channels/883083792112300104/1215598841575899156 there i have something similar
AmauryCid
AmauryCidOPβ€’9mo ago
Thank you for your help!
Want results from more Discord servers?
Add your server