F
Filament10mo ago
Tjiel

How can I make a filter not changeable by the user?

I have filter that has a default value, the problem is that the user can change this filter, which I don't want the user to be able to do. I prefer a way to make it so the user doesn't see there are filters and there is no filter icon to be clicked on. But it would also be good enough if the user just could not change them.
2 Replies
Povilas K
Povilas K10mo ago
You can modify the initial table query to have any conditions you want inside of the query itself Override the query() method of the table, it's one of the options

Did you find this page helpful?