Justin F. Hallett

Results 30 comments of Justin F. Hallett

is there an easy way to inject this mod to test it? I'm trying to make the changes locally (not in vendors) so I don't break updates while I wait...

https://github.com/EasyCorp/EasyAdminBundle/issues/6991 is likely related

it works 100% with query builder on the main crud or directly. Just not at all when it's in a collection using a secondary crud sadly. I'll try the createIndex,...

well I'm going to give it a shot, odd that setQueryBuilder works for me in multiple CRUDs with autocomplete though, just not in the secondary CRUD

I might do the same cause it is lots of repeat code which I'm not a fan of, thanks for the suggestion, I'll report back once I try it out.

I have it in the "embedded" crus which is where the association is, and it's not running `createIndexQueryBuilder` at all, I have `var_dump('here')` as the first line and it runs...

MealsCrudController.php (second last yield is the Collection) ``` public function configureFields(string $pageName): iterable { yield Field\IdField::new('id') ->onlyOnDetail() ; yield Field\TextField::new('name') ; yield Field\AssociationField::new('user') ->autocomplete() ->setSortProperty('email') ->setQueryBuilder(function (QueryBuilder $queryBuilder) { $queryBuilder...

there is no such thing CNFFoodName -> FoodExtension -> MealLines -> Meals CNFFoodName is a RO table that is populated from an other source, FoodExtension is so I could add...

Also on a separateNote as I test adding it to FoodExtension, in FoodExtension I can't filter out active, in meals it needs to. But first I'll see if it works,...

added to FoodExtension and no throw, if I go directly to the foodExtention Crud it does throw Also created a CNFFoodNameCrud and put it in there, no throw