Ambiguous column issue when using eloquent with for the join. #2933
Unanswered
mchourishi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using Datatable 9 on Laravel 6.
I have a model (FileAttachment) with softDelete enabled that has a join with users.
$files = FileAttachment::with('creator');
Now mostly everything is working except I am getting an error when I try to filter on users column (which is a relation)
My code for filter column is
When I filter on column I get the following error
Is there a way to resolve this easily?
Beta Was this translation helpful? Give feedback.
All reactions