Commit 521ec02f authored by Monish Deb's avatar Monish Deb

issue-1 fix

parent d73ef2fd
...@@ -411,7 +411,7 @@ function grantprograms_civicrm_buildForm($formName, &$form) { ...@@ -411,7 +411,7 @@ function grantprograms_civicrm_buildForm($formName, &$form) {
} }
$form->assign('showFields', $showFields); $form->assign('showFields', $showFields);
} }
if ($formName == "CRM_Grant_Form_Search") { if ($formName == "CRM_Grant_Form_Search" || $formName == 'CRM_Contact_Form_Search_Advanced') {
$grantPrograms = CRM_Grant_BAO_GrantProgram::getGrantPrograms(); $grantPrograms = CRM_Grant_BAO_GrantProgram::getGrantPrograms();
$form->add('select', $form->add('select',
'grant_program_id', 'grant_program_id',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment