mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* CalDAV: big calendars with more then 500 events in result-set were missing events
This commit is contained in:
parent
a3260eb100
commit
2a4d7c382b
@ -2072,7 +2072,7 @@ class egw_db
|
||||
$select['table_def'],
|
||||
));
|
||||
}
|
||||
$sql = count($union) > 1 ? '(' . implode(")\nUNION\n(",$union).')' : $union[0];
|
||||
$sql = count($union) > 1 ? '(' . implode(")\nUNION\n(",$union).')' : 'SELECT DISTINCT'.substr($union[0],6);
|
||||
|
||||
if ($order_by) $sql .= (!stristr($order_by,'ORDER BY') ? "\nORDER BY " : '').$order_by;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user