mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 02:11:05 +01:00
Order tags by slug
This adds an orderBy clause to findAllTags(). This makes the list of tags more useful, as the tags appear in alphanumerical order instead of somehow random. Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
This commit is contained in:
parent
b4d81c91de
commit
32755d5091
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user