mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-06 05:19:43 +00:00
[WIP] Add PostalCodeForAddressReferenceRepository and associated tests
Introduced `PostalCodeForAddressReferenceRepository` and its interface to support optimized postal code search using materialized views. Updated `AddressReferenceRepository` to improve query handling. Added test coverage for the new repository functionality.
This commit is contained in:
@@ -85,7 +85,7 @@ final readonly class AddressReferenceRepository implements AddressReferenceRepos
|
||||
|
||||
$paramId = 0;
|
||||
|
||||
foreach ($terms as $k => $term) {
|
||||
foreach ($terms as $term) {
|
||||
$qb->andWhere('var.address like ?');
|
||||
$qb->setParameter(++$paramId, "%{$term}%");
|
||||
}
|
||||
|
Reference in New Issue
Block a user