diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-09-05 22:20:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-05 22:20:27 +0200 |
commit | 6f23289e721bd14710af1acc23466432c1312850 (patch) | |
tree | 58ce6aa0cc70d0a101f3233ca2258592e6d08515 /src/Wallabag/ApiBundle/Controller | |
parent | e5b090960bed3eb4a70c29c4acbae2027e17f7d6 (diff) | |
parent | 5173fd1c3d05d1fadfbdd4db862cd744209e13ac (diff) | |
download | wallabag-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/ApiBundle/Controller')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index 869fdc56..07fedeb0 100644 --- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |||
@@ -322,7 +322,9 @@ class WallabagRestController extends FOSRestController | |||
322 | 322 | ||
323 | $tags = $this->getDoctrine() | 323 | $tags = $this->getDoctrine() |
324 | ->getRepository('WallabagCoreBundle:Tag') | 324 | ->getRepository('WallabagCoreBundle:Tag') |
325 | ->findAllTags($this->getUser()->getId()); | 325 | ->findAllTags($this->getUser()->getId()) |
326 | ->getQuery() | ||
327 | ->getResult(); | ||
326 | 328 | ||
327 | $json = $this->get('serializer')->serialize($tags, 'json'); | 329 | $json = $this->get('serializer')->serialize($tags, 'json'); |
328 | 330 | ||