summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-11-17 13:14:05 +0100
committerGitHub <noreply@github.com>2021-11-17 13:14:05 +0100
commit2fb31dffc632fc62c2c2acb74071ace826a79d1c (patch)
treebdbf86c183c5a66a89a0b27f01001621e07f8cc8 /lib/public
parentb8318c23636e7b83e5971db4e3a8ef5159e6d5af (diff)
parent0b72abb7a54ecf32b829ba610ec6903391d28273 (diff)
downloadnextcloud-server-2fb31dffc632fc62c2c2acb74071ace826a79d1c.tar.gz
nextcloud-server-2fb31dffc632fc62c2c2acb74071ace826a79d1c.zip
Merge pull request #29662 from nextcloud/enhancement/calendar-search-properties-api-stable23
[stable23] Document allowed property names for calendar property searches
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Calendar/ICalendarQuery.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/Calendar/ICalendarQuery.php b/lib/public/Calendar/ICalendarQuery.php
index 142810d3fb9..d37c4b94225 100644
--- a/lib/public/Calendar/ICalendarQuery.php
+++ b/lib/public/Calendar/ICalendarQuery.php
@@ -51,6 +51,11 @@ interface ICalendarQuery {
/**
* Define the property name(s) to search for
*
+ * Note: Nextcloud only indexes *some* properties. You can not search for
+ * arbitrary properties.
+ *
+ * @param string $value one of CATEGORIES, COMMENT, DESCRIPTION, LOCATION, RESOURCES, STATUS, SUMMARY, ATTENDEE, CONTACT or ORGANIZER
+ *
* @since 23.0.0
*/
public function addSearchProperty(string $value): void;