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(caldav): avoid selecting every custom properties from table if we…
… have no calendars to filter

Signed-off-by: Thomas Citharel <[email protected]>
  • Loading branch information
tcitworld committed Oct 10, 2025
commit 22b90c23193db1ae72c70461f9936938de1f0f34
3 changes: 3 additions & 0 deletions apps/dav/lib/Db/PropertyMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public function findPropertyByPathAndName(string $userId, string $path, string $
* @throws \OCP\DB\Exception
*/
public function findPropertiesByPathsAndUsers(array $calendars): array {
if (empty($calendars)) {
return [];
}
$selectQb = $this->db->getQueryBuilder();
$selectQb->select('*')
->from(self::TABLE_NAME);
Expand Down
Loading