From: monishdeb Date: Thu, 14 Aug 2014 12:21:24 +0000 (+0530) Subject: CRM-15108 fix - "Add to group" fails X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c2d91642248cf0bd34728ef8368bd6ff1ac83d79;p=civicrm-core.git CRM-15108 fix - "Add to group" fails https://issues.civicrm.org/jira/browse/CRM-15108 --- 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);