F
Filament8mo ago
ToonVD

Filter resource data with url

Hi Is there any easy way to filter a resource data without table filter? Thanks in advance!
2 Replies
Patrick Boivin
Patrick Boivin8mo ago
You can override the getEloquentQuery() method on the resource. Or maybe getTableQuery() on the page class, if you want to do it from a custom URL parameter.
ToonVD
ToonVDOP8mo ago
Will try, thanks! Yup, this fixes it! Thanks!
Want results from more Discord servers?
Add your server