F
Filament2mo 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 Boivin2mo 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
ToonVD2mo ago
Will try, thanks! Yup, this fixes it! Thanks!