Fix for CRM-18060
authorWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 29 Mar 2016 11:20:49 +0000 (16:50 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 29 Mar 2016 11:20:49 +0000 (16:50 +0530)
CRM/Report/Form/Contribute/Detail.php
CRM/Report/Form/Contribute/HouseholdSummary.php
CRM/Report/Form/Contribute/OrganizationSummary.php
CRM/Report/Form/Contribute/SoftCredit.php
CRM/Report/Form/Contribute/Sybunt.php
CRM/Report/Form/Event/ParticipantListing.php
CRM/Report/Form/Member/ContributionDetail.php
CRM/Report/Form/Member/Detail.php
CRM/Report/Form/Member/Summary.php
CRM/Report/Form/Pledge/Detail.php
CRM/Report/Form/Pledge/Pbnp.php

index 81befa3671d3c69e3cf9e5e28c4c2efdaf231929..0722974e41096cfe482a330c804c77d14f809f16 100644 (file)
@@ -375,6 +375,7 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
       $this->_columns['civicrm_contribution']['order_bys']['campaign_id'] = array('title' => ts('Campaign'));
     }
index a6d8ed9c45c1364fd910764820e96c64079cf8a6..dc6954062a17460dd787a0a9b7093a5b69399313 100644 (file)
@@ -194,6 +194,7 @@ class CRM_Report_Form_Contribute_HouseholdSummary extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
     }
     $this->_currencyColumn = 'civicrm_contribution_currency';
index 4d30b08bfd2d853236eeeabd2ac22ee4f98b64e0..cc8b2cc9c0a9ad2ac6a0353f08056c0f0c2ac8fe 100644 (file)
@@ -204,6 +204,7 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
     }
 
index a3318c55dc1e66b9458b5000c3a5e2608f5cbe99..c9058223e7501e69cd0b02755a564096e795e4d8 100644 (file)
@@ -301,6 +301,7 @@ class CRM_Report_Form_Contribute_SoftCredit extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
     }
 
index 5752ba9f571a23401b4f64baebd5baf1077311d2..1625378f68aa28ead1f9cabfe03756d7782bbcb5 100644 (file)
@@ -248,6 +248,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
     }
 
index b4e38431555d90feb47d0597288b87bab7490b04..3497a4a84d06dbc8f7e6b46e811ee3f3579f1336 100644 (file)
@@ -411,6 +411,7 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
       $this->_columns['civicrm_participant']['order_bys']['campaign_id'] = array(
         'title' => ts('Campaign'),
index d8a65f98f01be24047fba50920522e924d174ebc..54b9c113fe8a3f2f23857383a51da2cc3acfd7d2 100644 (file)
@@ -378,6 +378,7 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
       $this->_columns['civicrm_contribution']['order_bys']['campaign_id'] = array('title' => ts('Campaign'));
     }
index 77e8ac926a1b40e33432ead6aeeef0781d6d4185..cd6ed27ad8a2014797c965a5333e3f6e942dc9e3 100644 (file)
@@ -247,6 +247,7 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
       $this->_columns['civicrm_membership']['order_bys']['campaign_id'] = array('title' => ts('Campaign'));
 
index 9baf5b7ee7217b3d9bf2f6efac9bfcc82f87ce5c..d5400f5e56642b877eb17a0f29cf3a337a3e5993 100644 (file)
@@ -186,6 +186,7 @@ class CRM_Report_Form_Member_Summary extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
       $this->_columns['civicrm_membership']['group_bys']['campaign_id'] = array('title' => ts('Campaign'));
     }
index e900d5257bd52c4b133f90a7081c699df757788f..0190fa10fa8871b831c382cacca1bca23c5cff26 100644 (file)
@@ -197,6 +197,7 @@ class CRM_Report_Form_Pledge_Detail extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
       $this->_columns['civicrm_pledge']['group_bys']['campaign_id'] = array('title' => ts('Campaign'));
 
index 3181082ad2f04557d1950de8d015720d75f79921..c1e0cb3643dd888dc3ce516229cefc3a172bf86c 100644 (file)
@@ -185,6 +185,7 @@ class CRM_Report_Form_Pledge_Pbnp extends CRM_Report_Form {
         'title' => ts('Campaign'),
         'operatorType' => CRM_Report_Form::OP_MULTISELECT,
         'options' => $this->activeCampaigns,
+        'type' => CRM_Utils_Type::T_INT,
       );
     }