diff --git a/src/Repository/AssignmentRepository.php b/src/Repository/AssignmentRepository.php index 0dcea06..7e01eb4 100644 --- a/src/Repository/AssignmentRepository.php +++ b/src/Repository/AssignmentRepository.php @@ -122,7 +122,7 @@ class AssignmentRepository extends ServiceEntityRepository foreach ($filterDto->getHotels() as $hotel) { $qb - ->andWhere($qb->expr()->like('destination.product', ':hotel')) + ->andWhere($qb->expr()->like('destination.hotel', ':hotel')) ->setParameter('hotel', '%'.$hotel.'%') ; }