mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-15 19:42:08 +00:00
improve test and change method name. Also, display number of entries for each tag
This commit is contained in:
parent
567421af50
commit
e686a76d34
3 changed files with 5 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue