Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.1
-
Fix Version/s: 4.3.2
-
Component/s: CiviContribute
Description
See thread: http://forum.civicrm.org/index.php/topic,28585.msg122252.html#msg122252
:civicrm/drupal/modules/views/components/civicrm.contribute.inc has contributionType in a couple of places. Changed them to FiancialType and much happier.
//Financial Type
$data['civicrm_contribution']['financial_type'] = array(
'title' => t('Contribution Type'),
'real field' => 'financial_type_id',
'help' => t('The Type of Contribution made, ie Member Dues, Event Fees etc'),
'field' => array(
'handler' => 'civicrm_handler_field_pseudo_constant',
'click sortable' => TRUE,
'pseudo class' => 'CRM_Contribute_PseudoConstant',
'pseudo method' => 'contributionType',
),
'argument' => array(
'handler' => 'views_handler_argument',
),
'filter' => array(
'handler' => 'civicrm_handler_filter_pseudo_constant',
'allow empty' => TRUE,
'pseudo class' => 'CRM_Contribute_PseudoConstant',
'pseudo method' => 'contributionType',
),
'sort' => array(
'handler' => 'views_handler_sort',
),
);