From: Jon goldberg Date: Fri, 6 Feb 2015 00:53:18 +0000 (-0500) Subject: CRM-15917 - CiviReport - don't hide display name when there are two contacts with... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5ac295e61e76de0fbf6a9248e02408175afd578b;p=civicrm-core.git CRM-15917 - CiviReport - don't hide display name when there are two contacts with the same name --- diff --git a/CRM/Report/Form/Member/Detail.php b/CRM/Report/Form/Member/Detail.php index 3b85973ab6..c5704d9d03 100644 --- 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)) {