#901 Fixed condition type

This commit is contained in:
Alejandro Celaya 2020-11-21 08:51:30 +01:00
parent 850360dd2b
commit 5485efc9ae

View File

@ -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) {