Skip to content

Commit

Permalink
Merge pull request #510 from humhub/fix/509-event-type-visibility
Browse files Browse the repository at this point in the history
Fix event type visibility
  • Loading branch information
luke- authored Oct 31, 2024
2 parents c79116f + 901740c commit 52b08bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion widgets/CalendarTypeLegend.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public function getCalendarTypes(): array
? CalendarEntryType::findByContainer($this->contentContainer, true)
: CalendarEntryType::find();

return $query->all();
return $query->readable()->all();
}
}

0 comments on commit 52b08bc

Please sign in to comment.