You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m encountering an issue while using EasyAdmin in combination with the michaeldegroot/doctrine-encrypt-bundle to encrypt database fields.
I’ve encrypted certain fields (e.g., firstName, lastName) in my entity using the michaeldegroot/doctrine-encrypt-bundle.
However, when I try to set filters using configureFilters or search fields using setSearchFields in EasyAdmin, they do not seem to work with the encrypted fields.
// In the EasyAdmin Controller
public function configureFilters(Filters $filters): Filters
{
return $filters
->add('firstName')
->add('lastName');
}
public function configureCrud(Crud $crud): Crud
{
return $crud
->setSearchFields(['firstName', 'lastName']);
}
I expect to be able to filter and search through these fields, but since they are encrypted, neither filtering nor searching seems to work.
Is there a way to make EasyAdmin work with encrypted fields, especially for filtering and searching? If anyone has experience with this specific use case or knows a workaround, I would appreciate any guidance.
The text was updated successfully, but these errors were encountered:
Hi,
I’m encountering an issue while using EasyAdmin in combination with the michaeldegroot/doctrine-encrypt-bundle to encrypt database fields.
I’ve encrypted certain fields (e.g., firstName, lastName) in my entity using the michaeldegroot/doctrine-encrypt-bundle.
However, when I try to set filters using configureFilters or search fields using setSearchFields in EasyAdmin, they do not seem to work with the encrypted fields.
I expect to be able to filter and search through these fields, but since they are encrypted, neither filtering nor searching seems to work.
Is there a way to make EasyAdmin work with encrypted fields, especially for filtering and searching? If anyone has experience with this specific use case or knows a workaround, I would appreciate any guidance.
The text was updated successfully, but these errors were encountered: