From c2d91642248cf0bd34728ef8368bd6ff1ac83d79 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 14 Aug 2014 17:51:24 +0530 Subject: [PATCH] CRM-15108 fix - "Add to group" fails https://issues.civicrm.org/jira/browse/CRM-15108 --- CRM/Contact/Form/Search.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Contact/Form/Search.php b/CRM/Contact/Form/Search.php index fd57b61242..6ac6b9f38a 100644 --- a/CRM/Contact/Form/Search.php +++ b/CRM/Contact/Form/Search.php @@ -450,6 +450,10 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { ) ); $this->add('hidden', 'task', CRM_Contact_Task::GROUP_CONTACTS); + $selectedRowsRadio = $this->addElement('radio', 'radio_ts', NULL, '', 'ts_sel', array('checked' => 'checked')); + $allRowsRadio = $this->addElement('radio', 'radio_ts', NULL, '', 'ts_all'); + $this->assign('ts_sel_id', $selectedRowsRadio->_attributes['id']); + $this->assign('ts_all_id', $allRowsRadio->_attributes['id']); } else { $this->addTaskMenu($tasks); -- 2.25.1