]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/TagController.php
Added tags counter in sidebar (material theme)
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / TagController.php
index 1cbc413d644e616727ce0dca82af9b6f5582cd15..bc95a4d34ac4e6bda9e265c120b43d63397b4e3e 100644 (file)
@@ -84,7 +84,9 @@ class TagController extends Controller
     {
         $tags = $this->getDoctrine()
             ->getRepository('WallabagCoreBundle:Tag')
-            ->findAllTags($this->getUser()->getId());
+            ->findAllTags($this->getUser()->getId())
+            ->getQuery()
+            ->getResult();
 
         return $this->render(
             'WallabagCoreBundle:Tag:tags.html.twig',