I created a smart group through advanced search maybe 1 year ago for all contacts that had participated in an Event Type A or B or C. If I remember correctly it was very simple because the "Event Type" field in Advanced Search allowed multiple types to be selected. We now want to include Event Type D but when I go to edit the advanced search, it only allows a single type to be selected. Has the select widget for Event Type in Advance Search been changed to single select? Any ideas on how to now do a search for multiple event types?

  • What you might have done was create three smart groups separately from single event type searches, then combine on advanced search using the groups field there which does allow multiple. When editing the smart group what's in the groups field, in the basic criteria section? – Demerit Jan 19 '20 at 1:08
  • Thanks, @Demerit for the idea but, no, I did not do that. This is the only smart group we have. When I go to edit the smart group search, it has no criteria whatsoever so, now it is just returning all contacts in the database. – Daniel Strum Jan 19 '20 at 12:56
  • If you go to /civicrm/api3, and then for Entity choose "SavedSearch", then click the Execute button at the bottom it will output some gobbledygook. Can you edit your question post and copy and paste that in there (it will be too big for a comment). If you put three backticks before and after it then it will format properly (stackoverflow.com/editing-help#code). – Demerit Jan 19 '20 at 15:59
  • 1
    Again, thanks @Demerit. Through the API I was able to see what had happened and figure out a way forward. I had created the original search based on the event names. However, then others started naming events with no regard to the protocol I had developed so that no longer worked, which I should have known would happen. – Daniel Strum Jan 20 '20 at 22:15
  • 1
    Daniel - can you now Answer your own Question as Stack Exchange likes to know that answers happen – petednz - fuzion Jan 21 '20 at 0:08

Using the API3 interface I was able to see the information I needed to work though this problem. See the comments.


Note that there has been a request since 2017 to request this functionality at Multiselect for Event Type in Advanced Search.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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