aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/TagController.php
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-09-05 22:20:27 +0200
committerGitHub <noreply@github.com>2016-09-05 22:20:27 +0200
commit6f23289e721bd14710af1acc23466432c1312850 (patch)
tree58ce6aa0cc70d0a101f3233ca2258592e6d08515 /src/Wallabag/CoreBundle/Controller/TagController.php
parente5b090960bed3eb4a70c29c4acbae2027e17f7d6 (diff)
parent5173fd1c3d05d1fadfbdd4db862cd744209e13ac (diff)
downloadwallabag-6f23289e721bd14710af1acc23466432c1312850.tar.gz
wallabag-6f23289e721bd14710af1acc23466432c1312850.tar.zst
wallabag-6f23289e721bd14710af1acc23466432c1312850.zip
Merge pull request #2266 from wallabag/add-tags-counter
Added tags counter in sidebar (material theme)
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/TagController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/TagController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php
index 1cbc413d..bc95a4d3 100644
--- a/src/Wallabag/CoreBundle/Controller/TagController.php
+++ b/src/Wallabag/CoreBundle/Controller/TagController.php
@@ -84,7 +84,9 @@ class TagController extends Controller
84 { 84 {
85 $tags = $this->getDoctrine() 85 $tags = $this->getDoctrine()
86 ->getRepository('WallabagCoreBundle:Tag') 86 ->getRepository('WallabagCoreBundle:Tag')
87 ->findAllTags($this->getUser()->getId()); 87 ->findAllTags($this->getUser()->getId())
88 ->getQuery()
89 ->getResult();
88 90
89 return $this->render( 91 return $this->render(
90 'WallabagCoreBundle:Tag:tags.html.twig', 92 'WallabagCoreBundle:Tag:tags.html.twig',