-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: has() and whereHas() do not support MorphTo relationships. #12
Comments
This is a limitation of the Laravel framework, not this package. |
@TitasGailius okay, https://medium.com/laravel-nova/nova-morph-to-search-relations-2296dbb66906 - helps for me. But it would be nice to add an exception handler to your plugin, and show a more useful message, for example, to a workaround page. It will be convenient for users. |
@TitasGailius just an FYI: laravel/framework#28928 is included in Laravel 5.8. |
@TitasGailius can you add support for whereHasMorph now that it is supported, please :) |
It will be very useful to have support for searching for polymorphic relations.
The text was updated successfully, but these errors were encountered: