Skip to content

[BUGFIX] Show duration events on every day selected in calendar - #641

Closed
hojalatheef wants to merge 2 commits into
mainfrom
bugfix/calendar-day-duration-events
Closed

hojalatheef wants to merge 2 commits into
mainfrom
bugfix/calendar-day-duration-events

Conversation

@hojalatheef

Copy link
Copy Markdown
Contributor

Selecting a day in the calendar restricted only the outer day query to that day. The sub-query, which resolves the day record to display via MIN(day_time) per event and sort_day_time, was not restricted. As all days of a duration event share the same sort_day_time, the sub-query always resolved to the first day of the event, so the event was listed on its first day only. The same applied to recurring events with mergeRecurringEvents enabled.

Restrict the sub-query to the selected day, too.

Bump version to 10.2.13 and add ChangeLog entry.

Selecting a day in the calendar restricted only the outer day query to
that day. The sub-query, which resolves the day record to display via
MIN(day_time) per event and sort_day_time, was not restricted. As all
days of a duration event share the same sort_day_time, the sub-query
always resolved to the first day of the event, so the event was listed
on its first day only. The same applied to recurring events with
mergeRecurringEvents enabled.

Restrict the sub-query to the selected day, too.

Bump version to 10.2.13 and add ChangeLog entry.
Single events were only added to the day storage, if their event begin
was strictly greater than the earliest date of the allowed time frame.
With recurringPast set to 0 that date is today at midnight, so events
starting today at midnight did not get a day record and were not shown
in frontend.

Include the earliest date of the time frame in the comparison.
@hojalatheef hojalatheef closed this Oct 6, 2026
@hojalatheef
hojalatheef deleted the bugfix/calendar-day-duration-events branch October 6, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant