Add Patch 3 CustomerRepository
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m50s

This commit is contained in:
Leandro Hernan Rojas 2025-04-05 01:53:30 -03:00
parent ed45ada772
commit aa13555427

View File

@ -54,7 +54,7 @@ namespace Models.Repositories
var loweredDoc = document.ToLower();
query = query.Where(c =>
c.PhSCustomerDocuments.Any(a =>
a.DocumentNumber.Contains(loweredDoc))); // sin ToLower() acá
EF.Functions.Like(a.DocumentNumber.ToLower(), $"%{loweredDoc}%")));
}
if (!string.IsNullOrWhiteSpace(email))
{