Table query string, how can i put in the query string url the individual column search
Like im using the https://filamentphp.com/docs/3.x/tables/advanced#query-string in my table, but i have individual search columns, which is an array in the livewire data according debugbar "tableColumnSearches" => array [ "nome" => "rocha" ],
i tried to put something like this in my resource to have the same effect that has with $tableSearch
#[Url]
public ?array $tableColumnSearches = [];
but it didnt work, so im wondering if its possible to have this feature also for the individuals column search which have the ->searchable(isIndividual: true)
Solution:Jump to solution
so if anyone has this problem please just use https://filamentphp.com/docs/3.x/tables/columns/getting-started#persist-search-in-session
2 Replies
Solution
so if anyone has this problem please just use https://filamentphp.com/docs/3.x/tables/columns/getting-started#persist-search-in-session
->persistColumnSearchesInSession() in your table component