$form->add('text', 'contribution_amount_high', ts('To'), array('size' => 8, 'maxlength' => 8));
$form->addRule('contribution_amount_high', ts('Please enter a valid money value (e.g. %1).', array(1 => CRM_Utils_Money::format('99.99', ' '))), 'money');
- $form->addField('cancel_reason');
+ $form->addField('cancel_reason', array('entity' => 'Contribution'));
CRM_Core_Form_Date::buildDateRange($form, 'contribution_cancel_date', 1, '_low', '_high', ts('From:'), FALSE);
$form->addElement('hidden', 'contribution_cancel_date_range_error');
$this->preProcess();
$controller = new CRM_Core_Controller_Simple('CRM_Contribute_Form_Search',
- ts('Contributions'), NULL
+ ts('Contributions'), CRM_Core_Action::BROWSE
);
$controller->setEmbedded(TRUE);