forked from wallabag/wallabag
improve test and change method name. Also, display number of entries for each tag
This commit is contained in:
@ -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')
|
||||
|
||||
Reference in New Issue
Block a user