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:
02c9fd8
)
--HR-368 Changes for find case result
author
Poonam
<poonam@poonam.(none)>
Wed, 4 Jun 2014 13:59:53 +0000
(19:29 +0530)
committer
Poonam
<poonam@poonam.(none)>
Wed, 4 Jun 2014 13:59:53 +0000
(19:29 +0530)
CRM/Case/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Case/BAO/Query.php
b/CRM/Case/BAO/Query.php
index 9cb19932c750f3010628c3d8186ac094fbb4714c..1b7e083e99067b733efe764be97a37f79314cf19 100644
(file)
--- a/
CRM/Case/BAO/Query.php
+++ b/
CRM/Case/BAO/Query.php
@@
-300,7
+300,7
@@
class CRM_Case_BAO_Query {
$names[] = $caseTypes[$caseTypeId];
}
- $query->_where[$grouping][] = "(civicrm_case.case_type_id
LIKE '%{$val}%'
)";
+ $query->_where[$grouping][] = "(civicrm_case.case_type_id
IN (" . implode(',', $val) . ")
)";
$query->_qill[$grouping][] = ts('Case Type is %1', array(1 => implode(' ' . ts('or') . ' ', $names)));
$query->_tables['civicrm_case'] = $query->_whereTables['civicrm_case'] = 1;