F
Filament6mo 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 Boivin6mo 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
ToonVDOP6mo ago
Will try, thanks! Yup, this fixes it! Thanks!
Want results from more Discord servers?
Add your server