Skip to content

Commit

Permalink
Merge pull request #13112 from jitendrapurohit/core-528
Browse files Browse the repository at this point in the history
dev/core#528 - Advanced Search -> Contribution Tab and Contribution D…
  • Loading branch information
monishdeb authored Nov 16, 2018
2 parents 67c07fa + a1237f6 commit 9734476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CRM/Contribute/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ public static function buildSearchForm(&$form) {
$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');

Expand Down
2 changes: 1 addition & 1 deletion CRM/Contribute/Page/DashBoard.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function run() {
$this->preProcess();

$controller = new CRM_Core_Controller_Simple('CRM_Contribute_Form_Search',
ts('Contributions'), NULL
ts('Contributions'), CRM_Core_Action::BROWSE
);
$controller->setEmbedded(TRUE);

Expand Down

0 comments on commit 9734476

Please sign in to comment.