]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Repository/TagRepository.php
Order tags by slug
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Repository / TagRepository.php
index 81445989b71c97fc06a13e22f8aaada1b81d871d..2182df254315b9341448f01ba7191bfc50eed7e1 100644 (file)
@@ -49,6 +49,7 @@ class TagRepository extends EntityRepository
             ->leftJoin('t.entries', 'e')
             ->where('e.user = :userId')->setParameter('userId', $userId)
             ->groupBy('t.id')
+            ->orderBy('t.slug')
             ->getQuery()
             ->getArrayResult();