On the Activities tab of contacts, there is the possibility to filter which activity types are displayed.

Is there any way to set this filter by default?

Or another way to exclude Contribution Activities from that tab?

2 Answers 2


I'm not aware of a way of doing this through the user interface. However once a user sets the activity type filter, this should persist for that user, as it gets saved as a user preference. See Save user preferences for filtering Activities tab listings.

To set the default value of the filter, I would try using the buildForm hook.

  • Note: if you find your exclude/include filters are NOT saving (i.e. you have to set them every time) then it's probably that you have the "Preserve activity filters as a user preference" tickbox un-ticked; find that on the Administer » Customise data and screens » Display Preferences. After turning that on, your preferences should stick for your user. Sep 7, 2020 at 15:38

My Civi did not save the preference (actually it completely ignored this filter) But it turns out it was a bug in my CiviCRM installation. It was fixed by updating to a newer version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.