diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-04 20:53:28 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-04 20:53:28 +0200 |
commit | 429d86f388da856c9d8d9a649147c5212bee4258 (patch) | |
tree | 2dde16adfb069d26209a0c01c92a04eb9b502e54 /src/Wallabag/CoreBundle/Controller | |
parent | c3b53188d75a01e92f2be7204fc961a7636a1827 (diff) | |
download | wallabag-429d86f388da856c9d8d9a649147c5212bee4258.tar.gz wallabag-429d86f388da856c9d8d9a649147c5212bee4258.tar.zst wallabag-429d86f388da856c9d8d9a649147c5212bee4258.zip |
Added tags counter in sidebar (material theme)
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/TagController.php | 4 |
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', |