Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: fix preloading files with no custom properties
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Apr 9, 2025
commit 5c66fead676f38411935145fc87316cb56d5edfb
5 changes: 4 additions & 1 deletion apps/dav/lib/DAV/CustomPropertiesBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ private function cacheDirectory(string $path, Directory $node): void {
)),
)
->where($query->expr()->eq('parent', $query->createNamedParameter($node->getInternalFileId(), IQueryBuilder::PARAM_INT)))
->andWhere($query->expr()->eq('p.userid', $query->createNamedParameter($this->user->getUID())));
->andWhere($query->expr()->orX(
$query->expr()->eq('p.userid', $query->createNamedParameter($this->user->getUID())),
$query->expr()->isNull('p.userid'),
));
$result = $query->executeQuery();

$propsByPath = [];
Expand Down
Loading