projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaaabd3
)
Fix for dev/core#2503
author
Jaap Jansma
<jaap.jansma@civicoop.org>
Thu, 1 Apr 2021 13:30:10 +0000
(15:30 +0200)
committer
Jaap Jansma
<jaap.jansma@civicoop.org>
Thu, 1 Apr 2021 13:30:10 +0000
(15:30 +0200)
CRM/Report/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form.php
b/CRM/Report/Form.php
index f9b776a33662199c8b9bce005709c2223b49b78c..a20ca0d8de3b57c873e0c3f48e2163a5175d8772 100644
(file)
--- a/
CRM/Report/Form.php
+++ b/
CRM/Report/Form.php
@@
-4004,7
+4004,9
@@
ORDER BY cg.weight, cf.weight";
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':