From 34634ee0ec6ad1bacb6b086ac76991ae6babd26a Mon Sep 17 00:00:00 2001 From: Justin Freeman Date: Sun, 8 Dec 2019 15:45:52 +1100 Subject: [PATCH] CIVICRM-1392 - Group, Update Smart Group uses different labels for Group Title and Group Description --- CRM/Contact/Form/Task/SaveSearch.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Contact/Form/Task/SaveSearch.php b/CRM/Contact/Form/Task/SaveSearch.php index 35d16a3d53..f8114ce8d1 100644 --- a/CRM/Contact/Form/Task/SaveSearch.php +++ b/CRM/Contact/Form/Task/SaveSearch.php @@ -74,11 +74,11 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task { $formValues = $this->controller->exportValues(); // the name and description are actually stored with the group and not the saved search - $this->add('text', 'title', ts('Name'), + $this->add('text', 'title', ts('Group Title'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Group', 'title'), TRUE ); - $this->addElement('textarea', 'description', ts('Description'), + $this->addElement('textarea', 'description', ts('Group Description'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Group', 'description') ); @@ -121,7 +121,7 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task { $this->addDefaultButtons(ts('Save Smart Group')); $this->assign('partiallySelected', $formValues['radio_ts'] != 'ts_all'); } - $this->addRule('title', ts('Name already exists in Database.'), + $this->addRule('title', ts('Group Title already exists in Database.'), 'objectExists', ['CRM_Contact_DAO_Group', $groupID, 'title'] ); } -- 2.25.1