fix published draft posts in calendar

This commit is contained in:
2022-01-13 08:56:22 +00:00
parent 47b2ec858e
commit e128996cb7
2 changed files with 15 additions and 7 deletions

View File

@@ -83,8 +83,8 @@ def calendar(request):
"""
ICS-calendar for outlook, google calender,...
"""
# publish all events independent of authenticated user
events = Event.all_events.published(False)
# publish all events with status 'PUBLIC' and 'ONLY_INTERN' independent of authenticated user
events = Event.all_events.published_all(True)
context = {
"events": events,