I want to add a Activity Filter Option that filters the activity down to the "Assigned To".
in the ActivityFilter.php i have added this line of code:
$assigneeDefault = CRM_Core_Session::getLoggedInContactID();
$this->add('text', 'assignee_contact_id', ts('Task Owner'), $assigneeDefault, FALSE, ['class' => 'crm-form-text']);
Then in the selector.tpl i added this:
<td class="crm-contact-form-block-activity_assignee_contact_id crm-inline-edit-field">
<label>{ts}Task Owner{/ts}</label><br /> {$form.assignee_contact_id.html|crmAddClass:medium}
</td>
Unfortunately no luck to confirm:
I want a filter that shows only the activities 'Assigned To' a certain contact.
Thanks,
Moe