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

Add extra condition to avoid wrong on clause on MorphTo joins #192

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

sebj54
Copy link
Contributor

@sebj54 sebj54 commented Nov 26, 2024

Closes #191

I did not add any test because there was already one failing, fixed by my commit.

Before

image

After

image

Copy link
Member

@luisdalmolin luisdalmolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, I've confirmed this works. Thank you!

@luisdalmolin luisdalmolin merged commit 3c1af9b into kirschbaum-development:master Nov 26, 2024
1 check passed
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.

Power join on MorphTo relations does not work since Laravel v11.33.0
2 participants