Fixed: do not show postal code created by users in the list of postal codes

This commit is contained in:
Julien Fastré 2022-07-11 19:37:32 +02:00
parent ba8a80a202
commit b3da9611ce

View File

@ -92,5 +92,8 @@ final class PostalCodeAPIController extends ApiController
$qb->where('e.country = :country')
->setParameter('country', $request->query->get('country'));
}
$qb->andWhere('e.origin = :zero')
->setParameter('zero', 0);
}
}