Skip to content

Commit e204098

Browse files
authored
Merge pull request #49420 from nextcloud/fix/etag-constraint-search-query
2 parents 1f6d0f0 + 4db5f70 commit e204098

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
@@ -48,7 +48,7 @@ public function selectTagUsage(): self {
4848
public function selectFileCache(?string $alias = null, bool $joinExtendedCache = true) {
4949
$name = $alias ?: 'filecache';
5050
$this->select("$name.fileid", 'storage', 'path', 'path_hash', "$name.parent", "$name.name", 'mimetype', 'mimepart', 'size', 'mtime',
51-
'storage_mtime', 'encrypted', 'etag', "$name.permissions", 'checksum', 'unencrypted_size')
51+
'storage_mtime', 'encrypted', "$name.etag", "$name.permissions", 'checksum', 'unencrypted_size')
5252
->from('filecache', $name);
5353

5454
if ($joinExtendedCache) {

0 commit comments

Comments
 (0)