aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Repository/EntryRepository.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-18 17:36:19 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-19 20:05:16 +0100
commit32f455c1317bf536aea63147d2c5074ae7425d42 (patch)
tree5088c6a25dd29915f3c7de1411b86b9633166a72 /src/Wallabag/CoreBundle/Repository/EntryRepository.php
parent49b042dfdf33a0efd3c838e1476754e6019730d2 (diff)
downloadwallabag-32f455c1317bf536aea63147d2c5074ae7425d42.tar.gz
wallabag-32f455c1317bf536aea63147d2c5074ae7425d42.tar.zst
wallabag-32f455c1317bf536aea63147d2c5074ae7425d42.zip
Added tests
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository/EntryRepository.php')
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntryRepository.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
index 51cfe4d1..47e24d6b 100644
--- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php
+++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
@@ -110,8 +110,7 @@ class EntryRepository extends EntityRepository
110 $qb 110 $qb
111 ->andWhere('e.content LIKE :term OR e.title LIKE :term')->setParameter('term', '%'.$term.'%') 111 ->andWhere('e.content LIKE :term OR e.title LIKE :term')->setParameter('term', '%'.$term.'%')
112 ->leftJoin('e.tags', 't') 112 ->leftJoin('e.tags', 't')
113 ->groupBy('e.id') 113 ->groupBy('e.id');
114 ->having('count(t.id) = 0');
115 114
116 return $qb; 115 return $qb;
117 } 116 }