mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Improve Infolog GroupDAV
This commit is contained in:
parent
de36a7d40a
commit
a39a8b8eb8
@ -96,14 +96,15 @@ class infolog_groupdav extends groupdav_handler
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$task_filter = 'user' . $user. '-open';
|
$task_filter = 'open-user' . $user;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo add a filter to limit how far back entries from the past get synced
|
// todo add a filter to limit how far back entries from the past get synced
|
||||||
$filter = array(
|
$filter = array(
|
||||||
'info_type' => 'task',
|
'info_type' => 'task',
|
||||||
'filter' => $task_filter,
|
'filter' => $task_filter,
|
||||||
|
'calendar_data' => false,
|
||||||
);
|
);
|
||||||
|
|
||||||
// process REPORT filters or multiget href's
|
// process REPORT filters or multiget href's
|
||||||
@ -164,6 +165,11 @@ class infolog_groupdav extends groupdav_handler
|
|||||||
'col_filter' => $filter,
|
'col_filter' => $filter,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ($calendar_data)
|
||||||
|
{
|
||||||
|
$query['cols'] = array('info_id', 'info_datemodified');
|
||||||
|
}
|
||||||
|
|
||||||
if (is_array($start))
|
if (is_array($start))
|
||||||
{
|
{
|
||||||
$query['start'] = $offset = $start[0];
|
$query['start'] = $offset = $start[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user