Filter doesn't work when having `having` in the query
In UserResource i want to filter users that have more then X number of device tokens.
I'm doing something like:
But when I activate the filter the SQL query that's being sent to database doesn't seems to be changed.
Normally in Laravel thinker when I write something like:
It works fine.
Any ideas ?
Solution:Jump to solution
I solved it using:
```php
Tables\Filters\Filter::make('is_blocked')
->label('Blocked users')...
1 Reply
Solution
I solved it using: