Skip to content

Commit

Permalink
Fix for dev/core#2503
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapjansma committed Apr 1, 2021
1 parent aaaabd3 commit 55bf40f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CRM/Report/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -4004,7 +4004,9 @@ public function addCustomDataToColumns($addFields = TRUE, $permCustomGroupIds =
case 'Money':
$curFilters[$fieldName]['operatorType'] = CRM_Report_Form::OP_FLOAT;
$curFilters[$fieldName]['type'] = CRM_Utils_Type::T_MONEY;
$curFields[$fieldName]['type'] = CRM_Utils_Type::T_MONEY;
// Use T_FLOAT instead of T_MONEY as the money number format happens
// by calling CRM_Core_BAO_CustomField::displayValue in alterCustomDataDisplay
$curFields[$fieldName]['type'] = CRM_Utils_Type::T_FLOAT;
break;

case 'Float':
Expand Down

0 comments on commit 55bf40f

Please sign in to comment.