CIVICRM-1563 Find Activities Search, the default search option of "With" criteria...
authorJustin Freeman <justin@agileware.com.au>
Fri, 24 Sep 2021 05:46:16 +0000 (15:46 +1000)
committerJustin Freeman <justin@agileware.com.au>
Fri, 24 Sep 2021 05:46:16 +0000 (15:46 +1000)
CRM/Activity/BAO/Query.php

index 0aa2df666a3fcbbaa89ca9aba6a1e558d41f9734..47505d307a78873a776434ed6424a8e3a0b73c8c 100644 (file)
@@ -450,7 +450,7 @@ class CRM_Activity_BAO_Query {
       1 => ts('Added by'),
     ];
     $form->addRadio('activity_role', NULL, $activityRoles, ['allowClear' => TRUE]);
-    $form->setDefaults(['activity_role' => 3]);
+
     $activityStatus = CRM_Core_PseudoConstant::get('CRM_Activity_DAO_Activity', 'status_id', [
       'flip' => 1,
       'labelColumn' => 'name',