Commit f42eb870 authored by RoSk0's avatar RoSk0

#12537: List all available activity types by default.

parent 9ebd3e08
......@@ -25,7 +25,6 @@ function crm_core_activity_ui_views_default_views() {
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE;
$handler->display->display_options['pager']['type'] = 'full';
......@@ -135,10 +134,6 @@ function crm_core_activity_ui_views_default_views() {
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'crm_core_activity';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'meeting' => 'meeting',
'phone_call' => 'phone_call',
);
$handler->display->display_options['filters']['type']['exposed'] = TRUE;
$handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
$handler->display->display_options['filters']['type']['expose']['label'] = 'Filter by:';
......@@ -149,7 +144,6 @@ function crm_core_activity_ui_views_default_views() {
1 => 0,
3 => 0,
);
$handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment