![Cosme Escobedo on Twitter: " Laravel Tip: Eager load and filter by a nested relationship. If you need to filter a model by a nested relationship and are also eager load both of the relationships you can create a closure that takes care of the logic and pass it to ... Cosme Escobedo on Twitter: " Laravel Tip: Eager load and filter by a nested relationship. If you need to filter a model by a nested relationship and are also eager load both of the relationships you can create a closure that takes care of the logic and pass it to ...](https://pbs.twimg.com/media/FcwItmLaAAA-fku.jpg)
Cosme Escobedo on Twitter: " Laravel Tip: Eager load and filter by a nested relationship. If you need to filter a model by a nested relationship and are also eager load both of the relationships you can create a closure that takes care of the logic and pass it to ...
![eloquent - Unable to create a search filter for roles, which displays all the users with the selected role - Laravel - Stack Overflow eloquent - Unable to create a search filter for roles, which displays all the users with the selected role - Laravel - Stack Overflow](https://i.stack.imgur.com/dvYc4.gif)