EasyAdminBundle: setQueryBuilder seems to be ignored on index
Describe the bug When adding setQueryBuilder to change the default count query on the list, the custom query seems to be ignored
To Reproduce Add a field with setQueryBuilder
AssociationField::new('subscriptions', 'Subscriptions)->setQueryBuilder(function ($queryBuilder) {
return $queryBuilder->andWhere('entity.sent IS NOT NULL');
})->onlyOnIndex(),
(OPTIONAL) Additional context v3.5.10
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 23 (12 by maintainers)
@Ang3 Ahah sorry but I am not familiar with Configurator ^^’
I’ll have a look and try to read more documentation on how to create and use one.
Thanks for your help