feature Support association path filters with automatic joins#7295
feature Support association path filters with automatic joins#7295makraz wants to merge 1 commit intoEasyCorp:4.xfrom
Conversation
0c906d6 to
ab21802
Compare
ab21802 to
3b1ecad
Compare
|
Oh just saw this... do you know if that fixes #7298 by chance? |
I think yes, I create a demo here: https://github.com/makraz/easyadmin-association-filter
|
|
ah I looked at the example, you'd need to configure the book to search on the author's address to test that bug. Like |
i created a new PR #7300 to add the embeddable properties support for associations |
|
@makraz Just FYI: It'll throw Edit: looks like it's not running the if (!$entityDto->getClassMetadata()->hasAssociation($propertyName)) {
return;
}If you set the class yourself ->setFormTypeOption('value_type_options.class', Bar::class)it works-ish but doesn't run the configurator |
There was a problem hiding this comment.
Automatic joins are already implemented in search and it also supports doctrine embeddedables.
It would be nice if the logic could be extracted from search and reused in both search and filters instead of adding a new implementation.
EasyAdminBundle/src/Orm/EntityRepository.php
Lines 267 to 300 in 640e870
Just created a PR: #7500 |

relationship.propertypaths.Demo:
Screen.Recording.2025-12-15.at.01.15.23.mov