mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -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
b4b27dcdb1
commit
78f976dc0b
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