Skip to content

Commit 7cc52f0

Browse files
authored
Merge pull request #54190 from nextcloud/backport/54121/stable31
[stable31] fix: add missing color select to tags usage query
2 parents 50fc614 + 78f976d commit 7cc52f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Cache/CacheQueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(
2828

2929
public function selectTagUsage(): self {
3030
$this
31-
->select('systemtag.name', 'systemtag.id', 'systemtag.visibility', 'systemtag.editable', 'systemtag.etag')
31+
->select('systemtag.name', 'systemtag.id', 'systemtag.visibility', 'systemtag.editable', 'systemtag.etag', 'systemtag.color')
3232
->selectAlias($this->createFunction('COUNT(filecache.fileid)'), 'number_files')
3333
->selectAlias($this->createFunction('MAX(filecache.fileid)'), 'ref_file_id')
3434
->from('filecache', 'filecache')

0 commit comments

Comments
 (0)