Skip to content
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

[9.x] Fix problem with disregarding global scopes when using existOr and doesntExistOr methods on model query #44795

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

mhfereydouni
Copy link
Contributor

Issue: Global scopes do not work on existsOr and doesntExistOr methods.
Solution: Added 'existsOr' and 'doesntExistOr' methods to passthru property.

@taylorotwell taylorotwell merged commit 4d126e8 into laravel:9.x Oct 31, 2022
@GrahamCampbell GrahamCampbell changed the title Fix problem with disregarding global scopes when using existOr and doesntExistOr methods on model query [9.x] Fix problem with disregarding global scopes when using existOr and doesntExistOr methods on model query Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants