mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 12:46:27 +00:00
Merge pull request #5296 from wallabag/tag-order
Tag view: order tags by label
This commit is contained in:
commit
7b17dfc172
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ class TagRepository extends EntityRepository
|
|||
return $this->getQueryBuilderByUser($userId)
|
||||
->select('t.id, t.label, t.slug, count(e.id) as nbEntries')
|
||||
->distinct(true)
|
||||
->orderBy('t.label')
|
||||
->getQuery()
|
||||
->getArrayResult();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue