X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FForm%2FContribute%2FLybunt.php;h=b0877276d6d6335f2f1cff9cffa732da7c3d2668;hb=d72b084aac44d729ff3e47e3d9d8783b6be0f492;hp=93bcf8ec56a367408d166fb5328309ebe8be9ea4;hpb=eb3c005af5972ed58a354d38c9179f45ee852786;p=civicrm-core.git diff --git a/CRM/Report/Form/Contribute/Lybunt.php b/CRM/Report/Form/Contribute/Lybunt.php index 93bcf8ec56..b0877276d6 100644 --- a/CRM/Report/Form/Contribute/Lybunt.php +++ b/CRM/Report/Form/Contribute/Lybunt.php @@ -252,16 +252,16 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form { 'civicrm_financial_trxn' => array( 'dao' => 'CRM_Financial_DAO_FinancialTrxn', 'fields' => array( - 'card_type' => array( + 'card_type_id' => array( 'title' => ts('Credit Card Type'), - 'dbAlias' => 'GROUP_CONCAT(financial_trxn_civireport.card_type SEPARATOR ",")', + 'dbAlias' => 'GROUP_CONCAT(financial_trxn_civireport.card_type_id SEPARATOR ",")', ), ), 'filters' => array( - 'card_type' => array( + 'card_type_id' => array( 'title' => ts('Credit Card Type'), 'operatorType' => CRM_Report_Form::OP_MULTISELECT, - 'options' => CRM_Financial_DAO_FinancialTrxn::buildOptions('card_type'), + 'options' => CRM_Financial_DAO_FinancialTrxn::buildOptions('card_type_id'), 'default' => NULL, 'type' => CRM_Utils_Type::T_STRING, ), @@ -756,8 +756,8 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form { $entryFound = TRUE; } - if (!empty($row['civicrm_financial_trxn_card_type'])) { - $rows[$rowNum]['civicrm_financial_trxn_card_type'] = $this->getLabels($row['civicrm_financial_trxn_card_type'], 'CRM_Financial_DAO_FinancialTrxn', 'card_type'); + if (!empty($row['civicrm_financial_trxn_card_type_id'])) { + $rows[$rowNum]['civicrm_financial_trxn_card_type_id'] = $this->getLabels($row['civicrm_financial_trxn_card_type_id'], 'CRM_Financial_DAO_FinancialTrxn', 'card_type_id'); $entryFound = TRUE; }