This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 237
Double nested entities problem #874
Comments
You have a couple of options.
Something like this could work for you ... (located in your EntityDatatable class)
This code would be located in your Controller for the datatable, and you would then use the QueryBuilder to join whichever tables you want. This example filters out any non-enabled users in my project.
I don't know if there is a "best-practices" for what you're trying to accomplish. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've found some issues with double nested relation between entities. Entity "SiteVisit" has ManyToOne relation with "Ip", and "Ip" has ManyToOne relation with "Company".
Everything is working fine, but when i try to search by Company.name field, i get this error:
My builder fields:
So as you can see, other nested relations are working fine. Relating to this issue: #826 I've aslo tried to add this fields:
but it's still the same. Any ideas? You can notice that company field in Ip entity is nullable.
The text was updated successfully, but these errors were encountered: