diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index b23b0694..28f6a69d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.7.0 (Unreleased) +----------------------- +- Fix #509: Fix event type visibility + 1.6.4 (Unreleased) ----------------------- - Enh #502: Replace theme variables with CSS variables diff --git a/module.json b/module.json index 1c7be45d..cba93dd8 100644 --- a/module.json +++ b/module.json @@ -3,9 +3,9 @@ "name": "Calendar", "description": "Create one-time or recurring events, invite and manage attendees, and keep track of all your events with the Calendar module.", "keywords": ["calendar"], - "version": "1.6.4", + "version": "1.7.0", "humhub": { - "minVersion": "1.16.1" + "minVersion": "1.17.0-beta.2" }, "homepage": "https://github.com/humhub/calendar", "authors": [ diff --git a/widgets/CalendarTypeLegend.php b/widgets/CalendarTypeLegend.php index b143fe6b..cf8523a8 100644 --- a/widgets/CalendarTypeLegend.php +++ b/widgets/CalendarTypeLegend.php @@ -37,6 +37,6 @@ public function getCalendarTypes(): array ? CalendarEntryType::findByContainer($this->contentContainer, true) : CalendarEntryType::find(); - return $query->all(); + return $query->readable()->all(); } }