diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 1ceb82cbd8..1674d251cc 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -383,14 +383,14 @@ class calendar_uilist extends calendar_ui $col_filter = array(); foreach($params['col_filter'] as $name => $val) { - if ($name != 'participants' && (string)$val !== '') + if (!in_array($name, array('participant','row_id')) && (string)$val !== '') { $col_filter[$name] = $val; } } } $rows = $js_integration_data = array(); - + foreach((array) $this->bo->search($search_params, !empty($col_filter) ? $col_filter : null) as $event) { $this->to_client($event);