Skip to content

Commit

Permalink
Fixes for taking dynamic form name in grant search
Browse files Browse the repository at this point in the history
  • Loading branch information
sushantpaste authored and monishdeb committed Aug 19, 2019
1 parent bac14f3 commit 6c1b8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Grant/Form/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function preProcess() {
public static function preProcessCommon(&$form) {
$form->_grantIds = [];

$values = $form->controller->exportValues('Search');
$values = $form->controller->exportValues($form->get('searchFormName'));

$form->_task = $values['task'];
$tasks = CRM_Grant_Task::tasks();
Expand Down

0 comments on commit 6c1b8a2

Please sign in to comment.