Merge pull request #2763 from janLo/sort-tags

Sort list of available tags
This commit is contained in:
Thomas Citharel 2017-01-18 15:15:19 +01:00 committed by GitHub
commit afaee1cc0a

View 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();