diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-11-21 10:34:39 +0100 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-11-21 10:34:39 +0100 |
commit | 4db5f708b631214f899244e293b9ee2a6efe6f8f (patch) | |
tree | ff398ab31e8b3922fff0f750b982e69cf712c7b6 /lib/private/Files | |
parent | d334773b9868561db86209bbf801d2835f182a7b (diff) | |
download | nextcloud-server-4db5f708b631214f899244e293b9ee2a6efe6f8f.tar.gz nextcloud-server-4db5f708b631214f899244e293b9ee2a6efe6f8f.zip |
fix(cache): etag constraint violationfix/etag-constraint-search-query
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Cache/CacheQueryBuilder.php | 2 |
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) { |