fix: keep a calendar event visible after its date is moved (#29085)
This commit is contained in:
3 files changed
+13
-4
No files matched your search
@@ -533,7 +533,8 @@ class CalendarEventTable:
|
||||
& (CalendarEvent.start_at < end)
|
||||
& or_(
|
||||
CalendarEvent.end_at.is_(None) & (CalendarEvent.start_at >= start),
|
||||
CalendarEvent.end_at.isnot(None) & (CalendarEvent.end_at > start),
|
||||
CalendarEvent.end_at.isnot(None)
|
||||
& ((CalendarEvent.end_at > start) | (CalendarEvent.start_at >= start)),
|
||||
)
|
||||
),
|
||||
# Recurring: fetch all (expansion in Python)
|
||||
|
||||
Reference in new issue
Block a user