Issue with getEloquentQuery, query and Action

I am doing this in a resource, it works good but for example if it is filtering $filter_stock = request()->query('filterStock'); and I click on an action, that query returns null and it still being in the url, how can I solve this?
image.png
Was this page helpful?