Skip to content
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

Merged
merged 3 commits into from
Sep 26, 2016
Merged

fix public calendars #26112

merged 3 commits into from
Sep 26, 2016

Conversation

tcitworld
Copy link
Member

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@tcitworld tcitworld added this to the 9.2 milestone Sep 14, 2016
@mention-bot
Copy link

@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')
Copy link
Member

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

Copy link
Member Author

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.

@DeepDiver1975
Copy link
Member

Tested - works 👍

@DeepDiver1975 DeepDiver1975 merged commit 46e8feb into master Sep 26, 2016
@DeepDiver1975 DeepDiver1975 deleted the fix-public-calendars branch September 26, 2016 09:09
@lock
Copy link

lock bot commented Aug 4, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants