From 79cc876aaad38c747cceabbd7c624337712cc532 Mon Sep 17 00:00:00 2001 From: Mathavan Veeramuthu Date: Mon, 17 Dec 2018 12:01:57 +0000 Subject: [PATCH] dev/core#603 not set default value yes/no for active relationship filter. to avoid DB error --- CRM/Report/Form/Case/Summary.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Report/Form/Case/Summary.php b/CRM/Report/Form/Case/Summary.php index 44355b0e45..3308e05bf2 100644 --- a/CRM/Report/Form/Case/Summary.php +++ b/CRM/Report/Form/Case/Summary.php @@ -185,8 +185,9 @@ class CRM_Report_Form_Case_Summary extends CRM_Report_Form { 'is_active' => array( 'title' => ts('Active Relationship?'), 'type' => CRM_Utils_Type::T_BOOLEAN, - 'default' => TRUE, - 'options' => CRM_Core_SelectValues::boolean(), + //MV dev/core#603, not set default values Yes/No, this cause issue when relationship fields are not selected + // 'default' => TRUE, + 'options' => array('' => ts('- Select -')) + CRM_Core_SelectValues::boolean(), ), ), ), -- 2.25.1