feat(search): Seach for persons as event attendees and organizers#41374
Merged
ChristophWurst merged 1 commit intomasterfrom Nov 10, 2023
Merged
feat(search): Seach for persons as event attendees and organizers#41374ChristophWurst merged 1 commit intomasterfrom
ChristophWurst merged 1 commit intomasterfrom
Conversation
Merged
miaulalala
approved these changes
Nov 10, 2023
Merged
Altahrim
approved these changes
Nov 10, 2023
| public function getSupportedFilters(): array { | ||
| return [ | ||
| 'term', | ||
| 'person', |
Collaborator
There was a problem hiding this comment.
You also support them:
Suggested change
| 'person', | |
| 'person', | |
| 'since', | |
| 'until', |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
8d3c68a to
9b8cb5c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_adminChecklist