From 89a028fe19e0f3d62b489e9a3089c4d9583688aa Mon Sep 17 00:00:00 2001 From: yashodha Date: Tue, 23 May 2017 16:48:56 +0530 Subject: [PATCH] CRM-20624 - Expose description field for option values in UI --- CRM/Core/BAO/CustomOption.php | 2 +- templates/CRM/Custom/Page/Option.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Core/BAO/CustomOption.php b/CRM/Core/BAO/CustomOption.php index e19e169ed1..a1c0dfe276 100644 --- a/CRM/Core/BAO/CustomOption.php +++ b/CRM/Core/BAO/CustomOption.php @@ -176,7 +176,7 @@ class CRM_Core_BAO_CustomOption { $dao->id ); } - // crm_core_Error::Debug('t', $options); + return $options; } diff --git a/templates/CRM/Custom/Page/Option.tpl b/templates/CRM/Custom/Page/Option.tpl index 8d1294e167..b631fe6319 100644 --- a/templates/CRM/Custom/Page/Option.tpl +++ b/templates/CRM/Custom/Page/Option.tpl @@ -42,7 +42,7 @@ {ts}Label{/ts} {ts}Value{/ts} - {ts}Description{/ts} + {ts}Description{/ts} {ts}Default{/ts} {ts}Enabled?{/ts}   @@ -71,7 +71,7 @@ {sClass:'crm-custom_option-label'}, {sClass:'crm-custom_option-value'}, {sClass:'crm-custom_option-default_value'}, - {sClass:'crm-custom_option-default_description'}, + {sClass:'crm-custom_option-description'}, {sClass:'crm-custom_option-is_active'}, {sClass:'crm-custom_option-links'}, {sClass:'hiddenElement'} -- 2.25.1