From 525ae77a9a18d368bbf9a215d1fe34c5c8a83d74 Mon Sep 17 00:00:00 2001 From: Web Access Date: Thu, 11 Feb 2016 14:54:40 +0530 Subject: [PATCH] Minor Changes for CRM-18010 --- CRM/Report/Form/Contribute/Lybunt.php | 1 + CRM/Report/Form/Event/IncomeCountSummary.php | 3 +++ CRM/Report/Form/Event/ParticipantListCount.php | 2 ++ CRM/Report/Form/Event/Summary.php | 1 + CRM/Report/Form/Pledge/Summary.php | 2 ++ 5 files changed, 9 insertions(+) diff --git a/CRM/Report/Form/Contribute/Lybunt.php b/CRM/Report/Form/Contribute/Lybunt.php index 621b3791a2..2b9580d60e 100644 --- a/CRM/Report/Form/Contribute/Lybunt.php +++ b/CRM/Report/Form/Contribute/Lybunt.php @@ -222,6 +222,7 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form { ), 'financial_type_id' => array( 'title' => ts('Financial Type'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Financial_BAO_FinancialType::getAvailableFinancialTypes(), ), diff --git a/CRM/Report/Form/Event/IncomeCountSummary.php b/CRM/Report/Form/Event/IncomeCountSummary.php index 983d2e02c3..63cd87d037 100644 --- a/CRM/Report/Form/Event/IncomeCountSummary.php +++ b/CRM/Report/Form/Event/IncomeCountSummary.php @@ -96,6 +96,7 @@ class CRM_Report_Form_Event_IncomeCountSummary extends CRM_Report_Form_Event { 'event_type_id' => array( 'name' => 'event_type_id', 'title' => ts('Event Type'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Core_OptionGroup::values('event_type'), ), @@ -136,12 +137,14 @@ class CRM_Report_Form_Event_IncomeCountSummary extends CRM_Report_Form_Event { 'sid' => array( 'name' => 'status_id', 'title' => ts('Participant Status'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Event_PseudoConstant::participantStatus(), ), 'rid' => array( 'name' => 'role_id', 'title' => ts('Participant Role'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Event_PseudoConstant::participantRole(), ), diff --git a/CRM/Report/Form/Event/ParticipantListCount.php b/CRM/Report/Form/Event/ParticipantListCount.php index 8990529845..8eebf323a3 100644 --- a/CRM/Report/Form/Event/ParticipantListCount.php +++ b/CRM/Report/Form/Event/ParticipantListCount.php @@ -234,6 +234,7 @@ class CRM_Report_Form_Event_ParticipantListCount extends CRM_Report_Form_Event { 'sid' => array( 'name' => 'status_id', 'title' => ts('Participant Status'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Event_PseudoConstant::participantStatus(NULL, NULL, 'label'), ), @@ -273,6 +274,7 @@ class CRM_Report_Form_Event_ParticipantListCount extends CRM_Report_Form_Event { 'eid' => array( 'name' => 'event_type_id', 'title' => ts('Event Type'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Core_OptionGroup::values('event_type'), ), diff --git a/CRM/Report/Form/Event/Summary.php b/CRM/Report/Form/Event/Summary.php index 6ce704134f..fa0c88d0cd 100644 --- a/CRM/Report/Form/Event/Summary.php +++ b/CRM/Report/Form/Event/Summary.php @@ -91,6 +91,7 @@ class CRM_Report_Form_Event_Summary extends CRM_Report_Form_Event { 'event_type_id' => array( 'name' => 'event_type_id', 'title' => ts('Event Type'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Core_OptionGroup::values('event_type'), ), diff --git a/CRM/Report/Form/Pledge/Summary.php b/CRM/Report/Form/Pledge/Summary.php index 090e53e485..78c597b06f 100644 --- a/CRM/Report/Form/Pledge/Summary.php +++ b/CRM/Report/Form/Pledge/Summary.php @@ -142,11 +142,13 @@ class CRM_Report_Form_Pledge_Summary extends CRM_Report_Form { 'sid' => array( 'name' => 'status_id', 'title' => ts('Pledge Status'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Core_OptionGroup::values('contribution_status'), ), 'financial_type_id' => array( 'title' => ts('Financial Type'), + 'type' => CRM_Utils_Type::T_INT, 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 'options' => CRM_Contribute_PseudoConstant::financialType(), ), -- 2.25.1