* Calendar: order search for events to link with by startdate descending

This commit is contained in:
Ralf Becker 2012-05-22 17:08:00 +00:00
parent a415cbf259
commit cda03331e2

View File

@ -1791,7 +1791,8 @@ class calendar_bo
$result = array();
$query = array(
'query' => $pattern,
'offset' => $options['start'],
'offset' => $options['start'],
'order' => 'cal_start DESC',
);
if($options['num_rows']) {
$query['num_rows'] = $options['num_rows'];