Looking for a way to search table based on custom state
Hello all I have the following Textcolumn:
The problem is that currently, when searching, an error occurs. This is because you can obviously not saerch a direct relation. But my question is if there is a work around to make it so you can search for both columns at the same time, in this case the object->name column and the object->mainObject->name column.
4 Replies
Adjust the search:
as per: https://filamentphp.com/docs/3.x/tables/columns/getting-started
you'll just need to join over the object.
Ty for the response, based on your suggestion I have tried the following:
But whenever I try to search I get an unknown column 'objects.name' error.
ResourceModels is a placeholder for the table name of the resource this column is for.
Did you resolve it?
Yeah I found a different way, I forgot to post it here, anyway better late then never: