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