invert the logic on getEventsIn to grab events that hang into and out of the time frame. The same needs to be done to non-all day events
This commit is contained in:
parent
172985e2a0
commit
98cc2c684c
1 changed files with 5 additions and 2 deletions
|
|
@ -630,8 +630,11 @@ sub getEventsIn {
|
|||
(
|
||||
Event.startTime IS NULL
|
||||
&& Event.endTime IS NULL
|
||||
&& Event.startDate >= '$startDate'
|
||||
&& Event.startDate < '$endDate'
|
||||
&& !
|
||||
(
|
||||
Event.startDate >= '$endDate'
|
||||
|| Event.endDate < '$startDate'
|
||||
)
|
||||
)
|
||||
|| (
|
||||
CONCAT(Event.startDate,' ',Event.startTime) >= '$startTz'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue