Answers.Body: <p>Using the API3 interface I was able to see the information I needed to work though this problem. See the comments.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-22T13:09:36.760Z
Answers.LastActivityDate: 2020-01-22T13:09:36.760Z
Answers.UserDisplayName: Daniel Strum
Answers.Body: <p>Note that there has been a request since 2017 to request this functionality at <a href="https://lab.civicrm.org/dev/core/issues/465" rel="nofollow noreferrer">Multiselect for Event Type in Advanced Search</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-22T14:59:28.577Z
Answers.LastActivityDate: 2020-01-22T14:59:28.577Z
Answers.UserDisplayName: Francesc Bassas i Bullich
Answers.Body: <p>With the new search interface <a href="https://docs.civicrm.org/user/en/latest/the-user-interface/search-kit" rel="nofollow noreferrer">SearchKit</a> now it's possible to get this type of smart group in an alternative and easy way to advanced search.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-11-07T17:37:58.540Z
Answers.LastActivityDate: 2021-11-07T17:37:58.540Z
Answers.UserDisplayName: Francesc Bassas i Bullich
Body: <p>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?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-19T01:08:45.483Z
Comments.Text: 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?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-19T12:56:40.760Z
Comments.Text: 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.
Comments.UserDisplayName: Daniel Strum
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-19T15:59:29.567Z
Comments.Text: 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 (https://stackoverflow.com/editing-help#code).
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-20T22:15:49.767Z
Comments.Text: 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.
Comments.UserDisplayName: Daniel Strum
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-20T22:30:30.613Z
Comments.Text: Ahh, makes sense.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-21T00:08:00.813Z
Comments.Text: Daniel - can you now Answer your own Question as Stack Exchange likes to know that answers happen
Comments.UserDisplayName: petednz - fuzion
Tags: <advanced-search>
Title: Searching and smart group for multiple event types
ThreadText: # Searching and smart group for multiple event types
  
  (Asked by: username_0 on 2020-01-18)
  
  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?
  
  **Tags:** advanced-search
  
  > **Comments:**
  > **username_1**: 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?  
  > **username_0**: Thanks, @username_1 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.  
  > **username_1**: 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 (https://stackoverflow.com/editing-help#code).  
  > **username_0**: Again, thanks @username_1. 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.  
  > **username_1**: Ahh, makes sense.  
  > **username_2**: username_0 - can you now Answer your own Question as Stack Exchange likes to know that answers happen  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2020-01-22. Score: 1
  
  Using the API3 interface I was able to see the information I needed to work though this problem. See the comments.
  
  
  ---
  
  ### Answer by username_3 on 2020-01-22. Score: 1
  
  Note that there has been a request since 2017 to request this functionality at [Multiselect for Event Type in Advanced Search](https://lab.civicrm.org/dev/core/issues/465).
  
  
  ---
  
  ### Answer by username_3 on 2021-11-07. Score: 1
  
  With the new search interface [SearchKit](https://docs.civicrm.org/user/en/latest/the-user-interface/search-kit) now it's possible to get this type of smart group in an alternative and easy way to advanced search.
  
  
  ---
  
  