Skip to content

Commit 52bbc00

Browse files
committed
fix(CalDavBackend): allow to search for event URI
Signed-off-by: Jonas <jonas@freesources.org>
1 parent e01440a commit 52bbc00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/dav/lib/CalDAV/CalDavBackend.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,6 +2062,10 @@ public function search(
20622062
$outerQuery->andWhere($outerQuery->expr()->eq('uid', $outerQuery->createNamedParameter($options['uid'])));
20632063
}
20642064

2065+
if (isset($options['uri'])) {
2066+
$outerQuery->andWhere($outerQuery->expr()->eq('uri', $outerQuery->createNamedParameter($options['uri'])));
2067+
}
2068+
20652069
if (!empty($options['types'])) {
20662070
$or = [];
20672071
foreach ($options['types'] as $type) {

0 commit comments

Comments
 (0)