EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Filters are persisted through AssociationField links

Open stokworks opened this issue 1 year ago • 0 comments

When linking form one CrudController to another through an AssociationField. Any filters currently enabled on the calling controller are carried over in the url to the target, even if the second contains no such fields. This is not harmful when you link to a detail page, but upon returning to the target controller index page that filter remains set.

AssociationConfigurator->generateLinkToAssociatedEntity should probably unset at least EA::FILTERS, maybe also other parameters. At least when linking to a different controller.

stokworks avatar Jan 09 '24 12:01 stokworks