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?
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.
Sign up to join this communityOn 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?
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.
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.