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:
f9a6d90
)
dev/core/issues/709, fixed date filter for custom fields
author
Pradeep Nayak
<pradpnayak@gmail.com>
Mon, 25 Mar 2019 10:45:32 +0000
(10:45 +0000)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Mon, 25 Mar 2019 10:45:32 +0000
(10:45 +0000)
CRM/Report/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form.php
b/CRM/Report/Form.php
index 06c3df5caf8b93b18c0dc5dc09cc8a2d65554153..0fc3f9f40826a499a4c479c79f086b79ac42e3db 100644
(file)
--- a/
CRM/Report/Form.php
+++ b/
CRM/Report/Form.php
@@
-2114,12
+2114,10
@@
class CRM_Report_Form extends CRM_Core_Form {
list($from, $to) = $this->getFromTo($relative, $from, $to, $fromTime, $toTime);
if ($from) {
- $from = ($type == CRM_Utils_Type::T_DATE) ? substr($from, 0, 8) : $from;
$clauses[] = "( {$fieldName} >= $from )";
}
if ($to) {
- $to = ($type == CRM_Utils_Type::T_DATE) ? substr($to, 0, 8) : $to;
$clauses[] = "( {$fieldName} <= {$to} )";
}