mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-07 15:35:26 +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)
|
return $this->getQueryBuilderByUser($userId)
|
||||||
->select('t.id, t.label, t.slug, count(e.id) as nbEntries')
|
->select('t.id, t.label, t.slug, count(e.id) as nbEntries')
|
||||||
->distinct(true)
|
->distinct(true)
|
||||||
|
->orderBy('t.label')
|
||||||
->getQuery()
|
->getQuery()
|
||||||
->getArrayResult();
|
->getArrayResult();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue