From e1b1a03240c99ad21a3452a434c83ad20987ec1a Mon Sep 17 00:00:00 2001 From: gevorgmansuryan Date: Tue, 14 Jan 2025 01:47:01 +0400 Subject: [PATCH 1/2] Fixed url for global calendar when prettyUrl is disabled --- helpers/Url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/Url.php b/helpers/Url.php index 86d65fcc..9f46f16a 100644 --- a/helpers/Url.php +++ b/helpers/Url.php @@ -98,7 +98,7 @@ public static function toCalendar(ContentContainerActiveRecord $container = null public static function toGlobalCalendar() { - return static::to(['/calendar']); + return static::to(['calendar/global']); } public static function toEditItemType(CalendarTypeIF $type, ContentContainerActiveRecord $container = null) From e89a3b32113278ccfa9982b690b3c31413844712 Mon Sep 17 00:00:00 2001 From: gevorgmansuryan Date: Tue, 14 Jan 2025 01:48:16 +0400 Subject: [PATCH 2/2] Fixed url for global calendar when prettyUrl is disabled --- docs/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4919ca47..e3f5b5cf 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,7 @@ Changelog - Enh #512: Surround the widget wall entry links with a dedicated HTML class - Enh #516: Improved calendar page URLs - Fix #519: Fix issue where `IntlDateFormatter::parse()` failed to parse Bulgarian dates. +- Fix #520: Fix global calendar url when prettyUrl is disabled 1.6.4 (Unreleased) -----------------------