mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix: add missing color select to tags usage query
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
086ef597c0
commit
01147cf872
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class CacheQueryBuilder extends ExtendedQueryBuilder {
|
|||
|
||||
public function selectTagUsage(): self {
|
||||
$this
|
||||
->select('systemtag.name', 'systemtag.id', 'systemtag.visibility', 'systemtag.editable', 'systemtag.etag')
|
||||
->select('systemtag.name', 'systemtag.id', 'systemtag.visibility', 'systemtag.editable', 'systemtag.etag', 'systemtag.color')
|
||||
->selectAlias($this->createFunction('COUNT(filecache.fileid)'), 'number_files')
|
||||
->selectAlias($this->createFunction('MAX(filecache.fileid)'), 'ref_file_id')
|
||||
->from('filecache', 'filecache')
|
||||
|
|
|
|||
Loading…
Reference in a new issue