-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
[Bug]: Relationship not working if we have multiple relationship with same table #1712
Comments
/**
|
So I suspect it's due to how the package creates the joins dynamically. Please confirm which version of the Tables Package, Laravel, Livewire you're using Can you please also share:
Please wrap it in the script tags (three ` marks) I can then try to replicate it on my end and give you some options, or fix any bugs. |
What happened?
public function seller()
{
return $this->belongsTo(User::class, 'seller_id')->withTrashed();
}
It returns same value for both columns
How to reproduce the bug
public function seller()
{
return $this->belongsTo(User::class, 'seller_id')->withTrashed();
}
It returns same value for both columns
Package Version
No response
PHP Version
None
Laravel Version
No response
Alpine Version
No response
Theme
None
Notes
No response
Error Message
No response
The text was updated successfully, but these errors were encountered: