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

[8.x] Apply withoutGlobalScope in CanBeOneOfMany subqueries #39295

Merged
merged 1 commit into from
Oct 21, 2021
Merged

[8.x] Apply withoutGlobalScope in CanBeOneOfMany subqueries #39295

merged 1 commit into from
Oct 21, 2021

Conversation

bastien-phi
Copy link
Contributor

Fixes #39266

The problem is that->withoutGlobalScope() called on the relation is not respected.

@driesvints driesvints changed the title [8.X] Apply withoutGlobalScope in CanBeOneOfMany subqueries [8.x] Apply withoutGlobalScope in CanBeOneOfMany subqueries Oct 21, 2021
@taylorotwell taylorotwell merged commit 5478822 into laravel:8.x Oct 21, 2021
@bastien-phi
Copy link
Contributor Author

Thanks !

@bastien-phi bastien-phi deleted the apply_without_global_scope_in_has_one_of_many branch October 21, 2021 13:12
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.

LatestOfMany ORDER BY clause is not in GROUP BY
2 participants