Resolve "Des codes postaux marqués comme supprimés apparaissent toujours dans la recherche d'adresse"

This commit is contained in:
2026-02-23 14:16:45 +00:00
parent 76d675ac02
commit f1446d7abe
4 changed files with 54 additions and 1 deletions

View File

@@ -100,7 +100,9 @@ final readonly class PostalCodeRepository implements PostalCodeRepositoryInterfa
$query
->setFromClause('chill_main_postal_code cmpc')
->andWhereClause('cmpc.origin = 0');
->andWhereClause('cmpc.origin = 0')
->andWhereClause('cmpc.deletedAt IS NULL')
;
if (null !== $country) {
$query->andWhereClause('cmpc.country_id = ?', [$country->getId()]);