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 table aliases #1048

Merged
merged 2 commits into from
Jul 27, 2021
Merged

Conversation

antonioribeiro
Copy link
Member

Description

When adding some joins I always get into the situation where the internal Twill scopes are not aliased and Laravel raises the exception saying that the published column is ambiguous. I believe this is a behaviour can be found on other classes (like the scopePublished on the User class) and probably needs a larger review by someone with more global knowledge of queries in Twill. But this one fixed query joins done directly between module models.

@ifox ifox merged commit c37d565 into area17:2.x Jul 27, 2021
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.

None yet

2 participants