Skip to content
Snippets Groups Projects
Unverified Commit f22faf01 authored by yashodha's avatar yashodha Committed by GitHub
Browse files

Merge pull request #21598 from agileware/CIVICRM-1846

Find Activities Search, default search option for Activity Text is set to "both" in the code, but should actually be set to 6 which is the value for "both"
parents f3119af4 f0a731f8
Branches 4.7.9-rc
Tags 4.7.9
No related merge requests found
......@@ -466,7 +466,7 @@ class CRM_Activity_BAO_Query {
$form->addElement('text', 'activity_text', ts('Activity Text'), CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'sort_name'));
$form->addRadio('activity_option', '', CRM_Core_SelectValues::activityTextOptions());
$form->setDefaults(['activity_option' => 'both']);
$form->setDefaults(['activity_option' => 6]);
$form->addYesNo('activity_test', ts('Activity is a Test?'));
$activity_tags = CRM_Core_BAO_Tag::getColorTags('civicrm_activity');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment