Skip to content

Commit

Permalink
[NodeBundle] fix issue finding disctinct classes for deleted files (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Numkil authored and sandergo90 committed Oct 31, 2018
1 parent 806a27c commit a48099e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Kunstmaan/NodeBundle/Repository/NodeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ public function findAllDistinctPageClasses()
{
$qb = $this->createQueryBuilder('n')
->select('n.refEntityName')
->where('n.deleted = 0')
->distinct(true);

return $qb->getQuery()->getArrayResult();
Expand Down

0 comments on commit a48099e

Please sign in to comment.