From e686a76d343a3745c3dfe8010d9e5784e56bb17c Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 10 Feb 2016 18:40:15 +0100 Subject: improve test and change method name. Also, display number of entries for each tag --- src/Wallabag/CoreBundle/Repository/TagRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Wallabag/CoreBundle/Repository') diff --git a/src/Wallabag/CoreBundle/Repository/TagRepository.php b/src/Wallabag/CoreBundle/Repository/TagRepository.php index 8d9cf85c..afeb985b 100644 --- a/src/Wallabag/CoreBundle/Repository/TagRepository.php +++ b/src/Wallabag/CoreBundle/Repository/TagRepository.php @@ -57,7 +57,7 @@ class TagRepository extends EntityRepository * * @return Tag */ - public function findOnebyEntryAndLabel($entry, $label) + public function findOneByEntryAndTagLabel($entry, $label) { return $this->createQueryBuilder('t') ->leftJoin('t.entries', 'e') -- cgit v1.2.3