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:
8d44b02
)
CRM-15917 - CiviReport - don't hide display name when there are two contacts with...
author
Jon goldberg
<jon@palantetech.coop>
Fri, 6 Feb 2015 00:53:18 +0000
(19:53 -0500)
committer
Jon goldberg
<jon@palantetech.coop>
Fri, 6 Feb 2015 00:53:18 +0000
(19:53 -0500)
CRM/Report/Form/Member/Detail.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form/Member/Detail.php
b/CRM/Report/Form/Member/Detail.php
index 3b85973ab65159fc7b22647c18e6cfb032cc8720..c5704d9d0361f9fc9765b9cc4afc60c2809ae1cd 100644
(file)
--- a/
CRM/Report/Form/Member/Detail.php
+++ b/
CRM/Report/Form/Member/Detail.php
@@
-70,7
+70,6
@@
class CRM_Report_Form_Member_Detail extends CRM_Report_Form {
'title' => ts('Contact Name'),
'required' => TRUE,
'default' => TRUE,
- 'no_repeat' => TRUE,
),
'id' => array(
'no_display' => TRUE,
@@
-414,6
+413,10
@@
class CRM_Report_Form_Member_Detail extends CRM_Report_Form {
in_array($colVal, $checkList[$colName])
) {
$rows[$rowNum][$colName] = "";
+ // CRM-15918: Don't blank the name if it's a different contact
+ if($colName == 'civicrm_contact_exposed_id') {
+ $rows[$rowNum]['civicrm_contact_sort_name'] = "";
+ }
$repeatFound = TRUE;
}
if (in_array($colName, $this->_noRepeats)) {