Filter by attribute is slow for customer collection using addAttributeToFilter() function
I have created a custom attribute called username for Customer which is searchable in admin grid. But whenever I search by username for SSO it takes much time (2-3 sec). Below are the code: $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $customerObj = $objectManager->create(‘MagentoCustomerModelResourceModelCustomerCollection’);… Read More »Filter by attribute is slow for customer collection using addAttributeToFilter() function