-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
Search not working on relations field with same table. #2054
Comments
See demo https://datatables.yajrabox.com/eloquent/relationships for ref. You need to define which relationship to load. $posts = Post::with('user')->select('posts.*'); |
But when i add individual column search and I have more than one column have relation with the same table |
I see, sorting / searching on same table is not yet supported by the package. We are working on a solution at #2051. Maybe you can try it too and provide some feedbacks? Thanks! |
How can I Test it? any example |
Same as the example on demo. But with codes modified using the version on PR. Thanks! |
Fixed via #2051. |
The Problem Still there
this the movements modal relation too:
and this the datatable query :
|
I have this problema with two relationship on same table |
I have datatable that work perfectly when is search on relations field that I had edit it but today when I make some search test on datatable its never search on this field
Code snippet of problem
The text was updated successfully, but these errors were encountered: