-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Running EA 3.1.3
I originally had separate CRUD related to the same entity. Nonetheless, it seems the Autocomplete of the Association field take into account a random (I am sure there is a logic but I didn't check) CRUD for the searchField to apply. I then assume the searchField should always be the same? It seems odd to have separate controllers, to be able to call them separately in the Dashboard but they then get mixed up later on.
Considering things were getting mixed up, I looked at implementing Filters instead. Is there a way to use predefined searches (via Query Builder for instance)?
I don't need forms, just a predefined search. It seems the Filters should be applied to specific fields so it may not fit my need.
As an example, let's imagine we have EntityCrudController with:
$id,
$name
$myLinkedEntity
I would like to display only when $name is null and $myLinkedEntity is null.
If we have a separate CRUD, we can just use a specific QueryBuilder, but then I run into the other issues I mentioned. I feel like I am missing something.
Thanks