Skip to content

feat(search): Seach for persons as event attendees and organizers - #41374

Merged
ChristophWurst merged 1 commit into
masterfrom
feat/search/search-event-attendees
Nov 10, 2023
Merged

feat(search): Seach for persons as event attendees and organizers#41374
ChristophWurst merged 1 commit into
masterfrom
feat/search/search-event-attendees

Conversation

@ChristophWurst

Copy link
Copy Markdown
Member

Summary

Allows the event search to react to person searches. These try to match the common name of the attendee with the user's display name.
Deduplicates events matching summary (from the search term) and person filter.

How to test

curl against https://localhost/ocs/v2.php/search/providers/calendar/search?term=Meeting&person=nc-user_admin

Checklist

@ChristophWurstChristophWurst added enhancement 3. to review Waiting for reviews feature: caldav Related to CalDAV internals labels Nov 10, 2023
@ChristophWurstChristophWurst added this to the Nextcloud 28 milestone Nov 10, 2023
@ChristophWurstChristophWurst self-assigned this Nov 10, 2023
@blizzzblizzz mentioned this pull request Nov 10, 2023
@blizzzblizzz mentioned this pull request Nov 10, 2023
public function getSupportedFilters(): array {
return [
'term',
'person',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also support them:

Suggested change
'person',
'person',
'since',
'until',

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst
ChristophWurstforce-pushed the feat/search/search-event-attendees branch from 8d3c68a to 9b8cb5cCompareNovember 10, 2023 17:56
@ChristophWurstChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 10, 2023
@ChristophWurst
ChristophWurst merged commit 7556021 into masterNov 10, 2023
@ChristophWurst
ChristophWurst deleted the feat/search/search-event-attendees branch November 10, 2023 19:33
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishenhancementfeature: caldavRelated to CalDAV internals

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

🔎 Allow event date and attendee search in advanced search

3 participants

@ChristophWurst@Altahrim@miaulalala