mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Skip events that don't fit into the selected time range
This commit is contained in:
parent
dd9d78d29a
commit
34e915876d
@ -65,6 +65,9 @@ class calendar_export_csv implements importexport_iface_export_plugin {
|
||||
// support other selectors atm.
|
||||
$record = new calendar_egw_record();
|
||||
foreach ($events as $event) {
|
||||
// Get rid of yearly recurring events that don't belong
|
||||
if($event['start'] > $query['end'] || $event['end'] < $query['start']) continue;
|
||||
|
||||
// Add in participants
|
||||
if($options['mapping']['participants']) {
|
||||
$event['participants'] = implode(", ",$this->bo->participants($event,true));
|
||||
|
Loading…
Reference in New Issue
Block a user