From 16e98ad08c53a7af81398debab6b430fa9051c2e Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 18 Feb 2016 20:12:03 +0000 Subject: [PATCH] Include Display name as an option on CIviCRM relationship reports --- CRM/Report/Form/Contact/Relationship.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Report/Form/Contact/Relationship.php b/CRM/Report/Form/Contact/Relationship.php index 79644b2dee..ea2deec19c 100644 --- a/CRM/Report/Form/Contact/Relationship.php +++ b/CRM/Report/Form/Contact/Relationship.php @@ -67,6 +67,10 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form { 'name' => 'sort_name', 'required' => TRUE, ), + 'display_name_a' => array( + 'title' => ts('Contact A Full Name'), + 'name' => 'display_name', + ), 'id' => array( 'no_display' => TRUE, 'required' => TRUE, @@ -106,6 +110,10 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form { 'name' => 'sort_name', 'required' => TRUE, ), + 'display_name_b' => array( + 'title' => ts('Contact B Full Name'), + 'name' => 'display_name', + ), 'id' => array( 'no_display' => TRUE, 'required' => TRUE, -- 2.25.1