summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2024-05-29 16:30:11 +0200
committerGitHub <noreply@github.com>2024-05-29 16:30:11 +0200
commit7f44b9d9d01a5a46be7222065fd2b1c5c88f42fa (patch)
treef5b68cd9d637458ccb4f217099b9631fb17a8b0f /lib
parente5d25dcd52c4bb04b14fa7aa9be657e476248938 (diff)
parentb769dc4304862af35946386a235d5e6fdb658ce9 (diff)
downloadnextcloud-server-7f44b9d9d01a5a46be7222065fd2b1c5c88f42fa.tar.gz
nextcloud-server-7f44b9d9d01a5a46be7222065fd2b1c5c88f42fa.zip
Merge pull request #45222 from nextcloud/bug/noid/caldav-search-limit-and-timerange
CalDAV fix search with limit and time range
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Calendar/ICalendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Calendar/ICalendar.php b/lib/public/Calendar/ICalendar.php
index e4eb7937544..76257579a8f 100644
--- a/lib/public/Calendar/ICalendar.php
+++ b/lib/public/Calendar/ICalendar.php
@@ -47,7 +47,7 @@ interface ICalendar {
* ['timerange' => ['start' => new DateTime(...), 'end' => new DateTime(...)]]
* @param int|null $limit - limit number of search results
* @param int|null $offset - offset for paging of search results
- * @return array an array of events/journals/todos which are arrays of key-value-pairs
+ * @return array an array of events/journals/todos which are arrays of key-value-pairs. the events are sorted by start date (closest first, furthest last)
* @since 13.0.0
*/
public function search(string $pattern, array $searchProperties = [], array $options = [], ?int $limit = null, ?int $offset = null): array;