mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-12 18:29:34 +00:00
Tag view: order tags by label
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
60ce3da325
commit
1ba4d40e82
|
@ -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