From c19481e40abd309a2915924b3373c9849f4b90e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 7 Jul 2025 16:37:46 +0200 Subject: [PATCH] Fix incorrect alias in ThirdPartyRepository query builder expressions --- .../ChillThirdPartyBundle/Repository/ThirdPartyRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillThirdPartyBundle/Repository/ThirdPartyRepository.php b/src/Bundle/ChillThirdPartyBundle/Repository/ThirdPartyRepository.php index de9cdd270..3153713bb 100644 --- a/src/Bundle/ChillThirdPartyBundle/Repository/ThirdPartyRepository.php +++ b/src/Bundle/ChillThirdPartyBundle/Repository/ThirdPartyRepository.php @@ -147,8 +147,8 @@ class ThirdPartyRepository implements ObjectRepository $qb->where( $qb->expr()->orX( - $qb->expr()->eq('t.telephone', ':phonenumber'), - $qb->expr()->eq('t.telephone2', ':phonenumber') + $qb->expr()->eq('tp.telephone', ':phonenumber'), + $qb->expr()->eq('tp.telephone2', ':phonenumber') ) );