Skip to content

Commit

Permalink
Merge pull request #49420 from nextcloud/fix/etag-constraint-search-q…
Browse files Browse the repository at this point in the history
…uery
  • Loading branch information
skjnldsv authored Nov 21, 2024
2 parents 1f6d0f0 + 4db5f70 commit e204098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Cache/CacheQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function selectTagUsage(): self {
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) {
Expand Down

0 comments on commit e204098

Please sign in to comment.