aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-01-18 15:15:19 +0100
committerGitHub <noreply@github.com>2017-01-18 15:15:19 +0100
commitafaee1cc0a0e2902e9cd9c0117e9aa6f90fdf662 (patch)
tree2efe9b639de32483bd81830351f4d77a76d27310
parentb4d81c91de537370265c7a09b963cab49af629a8 (diff)
parent32755d5091546af8f82bfed3ca77287b3fb232ce (diff)
downloadwallabag-afaee1cc0a0e2902e9cd9c0117e9aa6f90fdf662.tar.gz
wallabag-afaee1cc0a0e2902e9cd9c0117e9aa6f90fdf662.tar.zst
wallabag-afaee1cc0a0e2902e9cd9c0117e9aa6f90fdf662.zip
Merge pull request #2763 from janLo/sort-tags
Sort list of available tags
-rw-r--r--src/Wallabag/CoreBundle/Repository/TagRepository.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/TagRepository.php b/src/Wallabag/CoreBundle/Repository/TagRepository.php
index 81445989..2182df25 100644
--- a/src/Wallabag/CoreBundle/Repository/TagRepository.php
+++ b/src/Wallabag/CoreBundle/Repository/TagRepository.php
@@ -49,6 +49,7 @@ class TagRepository extends EntityRepository
49 ->leftJoin('t.entries', 'e') 49 ->leftJoin('t.entries', 'e')
50 ->where('e.user = :userId')->setParameter('userId', $userId) 50 ->where('e.user = :userId')->setParameter('userId', $userId)
51 ->groupBy('t.id') 51 ->groupBy('t.id')
52 ->orderBy('t.slug')
52 ->getQuery() 53 ->getQuery()
53 ->getArrayResult(); 54 ->getArrayResult();
54 55