-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix public calendars #26112
fix public calendars #26112
Conversation
@tcitworld, thanks for your PR! By analyzing the annotation information on this pull request, we identified @DeepDiver1975, @nickvergessen and @LukasReschke to be potential reviewers |
*/ | ||
public function getPublishToken($calendar) { | ||
$query = $this->db->getQueryBuilder(); | ||
$result = $query->select('publicuri') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to add this to the overall loading query where we already join calendar table with the shares table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workaround. Not the best, but only one request.
d28692e
to
7dc37ea
Compare
Tested - works 👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Makes public calendars work properly again.
I have made that quite simply, but maybe it's better to wrap this all in a PublicCalendar class ?
Related Issue
#22735
Types of changes
Checklist: