aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-11-21 11:27:46 +0100
committerGitHub <noreply@github.com>2024-11-21 11:27:46 +0100
commite2040980de841062c47fc01f3ca14e4f37156457 (patch)
tree6b16deaa934f4943e2b2870b59325fca87a2917a
parent1f6d0f0eb64f72ca51a627a6a104f77784704f32 (diff)
parent4db5f708b631214f899244e293b9ee2a6efe6f8f (diff)
downloadnextcloud-server-e2040980de841062c47fc01f3ca14e4f37156457.tar.gz
nextcloud-server-e2040980de841062c47fc01f3ca14e4f37156457.zip
Merge pull request #49420 from nextcloud/fix/etag-constraint-search-query
-rw-r--r--lib/private/Files/Cache/CacheQueryBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/CacheQueryBuilder.php b/lib/private/Files/Cache/CacheQueryBuilder.php
index 2853ca033ad..5ae60ee80b6 100644
--- a/lib/private/Files/Cache/CacheQueryBuilder.php
+++ b/lib/private/Files/Cache/CacheQueryBuilder.php
@@ -48,7 +48,7 @@ class CacheQueryBuilder extends ExtendedQueryBuilder {
public function selectFileCache(?string $alias = null, bool $joinExtendedCache = true) {
$name = $alias ?: 'filecache';
$this->select("$name.fileid", 'storage', 'path', 'path_hash', "$name.parent", "$name.name", 'mimetype', 'mimepart', 'size', 'mtime',
- 'storage_mtime', 'encrypted', 'etag', "$name.permissions", 'checksum', 'unencrypted_size')
+ 'storage_mtime', 'encrypted', "$name.etag", "$name.permissions", 'checksum', 'unencrypted_size')
->from('filecache', $name);
if ($joinExtendedCache) {