1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

Added tests

This commit is contained in:
Nicolas Lœuillet 2016-11-18 17:36:19 +01:00
parent 49b042dfdf
commit 32f455c131
6 changed files with 73 additions and 5 deletions

View file

@ -110,8 +110,7 @@ class EntryRepository extends EntityRepository
$qb
->andWhere('e.content LIKE :term OR e.title LIKE :term')->setParameter('term', '%'.$term.'%')
->leftJoin('e.tags', 't')
->groupBy('e.id')
->having('count(t.id) = 0');
->groupBy('e.id');
return $qb;
}