mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-02 06:14:17 +00:00
Tweak case where filter-end is set without filter-start (rare).
This commit is contained in:
parent
f19481f849
commit
a34c522ae5
@ -132,7 +132,8 @@ function SqlFilterFragment( $filter, $components, $property = null, $parameter =
|
||||
$sql .= sprintf( "OR event_has_exceptions(caldav_data.caldav_data) )" );
|
||||
}
|
||||
else if ( isset( $finish ) ) {
|
||||
$sql .= sprintf( "AND %s <= %s::timestamp with time zone ", $start_column, qpg($finish) );
|
||||
$sql .= sprintf( "AND (%s <= %s::timestamp with time zone ", $start_column, qpg($finish) );
|
||||
$sql .= sprintf( "OR event_has_exceptions(caldav_data.caldav_data) )" );
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user