From 5485efc9aeea03330436ee77c4f7d5ceafe1c0a6 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 21 Nov 2020 08:51:30 +0100 Subject: [PATCH] #901 Fixed condition type --- module/Core/src/Domain/Repository/DomainRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Core/src/Domain/Repository/DomainRepository.php b/module/Core/src/Domain/Repository/DomainRepository.php index e4313a16..f02dd120 100644 --- a/module/Core/src/Domain/Repository/DomainRepository.php +++ b/module/Core/src/Domain/Repository/DomainRepository.php @@ -17,7 +17,7 @@ class DomainRepository extends EntityRepository implements DomainRepositoryInter public function findDomainsWithout(?string $excludedAuthority = null): array { $qb = $this->createQueryBuilder('d'); - $qb->join(ShortUrl::class, 's', Join::WITH, $qb->expr()->eq('s.domain', 'd')) + $qb->join(ShortUrl::class, 's', Join::WITH, 's.domain = d') ->orderBy('d.authority', 'ASC'); if ($excludedAuthority !== null) {