fix: filter hotels by correct property
This commit is contained in:
@@ -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.'%')
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user