mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-01 13:31:04 +00:00
Merge pull request #2763 from janLo/sort-tags
Sort list of available tags
This commit is contained in:
commit
afaee1cc0a
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ class TagRepository extends EntityRepository
|
||||||
->leftJoin('t.entries', 'e')
|
->leftJoin('t.entries', 'e')
|
||||||
->where('e.user = :userId')->setParameter('userId', $userId)
|
->where('e.user = :userId')->setParameter('userId', $userId)
|
||||||
->groupBy('t.id')
|
->groupBy('t.id')
|
||||||
|
->orderBy('t.slug')
|
||||||
->getQuery()
|
->getQuery()
|
||||||
->getArrayResult();
|
->getArrayResult();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue