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:
d37776a
)
dev/core#3164 : Report Filter Statistics don't show filters with value of "0"
author
Allen Shaw
<allen@JoineryHQ.com>
Wed, 13 Apr 2022 23:24:21 +0000
(18:24 -0500)
committer
Allen Shaw
<allen@JoineryHQ.com>
Wed, 13 Apr 2022 23:24:21 +0000
(18:24 -0500)
CRM/Report/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form.php
b/CRM/Report/Form.php
index 9793e13e9d295a71c37b4b1902ce67cf5035f93e..c27e48faeadb0b179c0d666953147b49c6d3575e 100644
(file)
--- a/
CRM/Report/Form.php
+++ b/
CRM/Report/Form.php
@@
-3510,7
+3510,7
@@
WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
$value = CRM_Utils_Array::value($op, $pair) . " " .
CRM_Utils_Array::value($val, $field['options'], $val);
}
- elseif ($val) {
+ elseif ($val
|| $val == '0'
) {
$value = CRM_Utils_Array::value($op, $pair) . " " . $val;
}
}