Answers.Body: <p>Related to this issue: <a href="https://lab.civicrm.org/dev/core/-/issues/4507" rel="nofollow noreferrer">lab.civicrm.org/dev/core/-/issues/4507</a>, where the fix was to run <code>composer civicrm:publish</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-09-13T14:10:47.963Z
Answers.LastActivityDate: 2023-09-13T14:22:25.007Z
Answers.LastEditDate: 2023-09-13T14:22:25.007Z
Answers.UserDisplayName: Lars SG
Body: <p>Recently, when using CiviMail, I have been unable to include or add more than one group for the mailing recipient or exclude fields. It only allows me to select one group, and if I try and add another it replaces the existing one. This is affecting both the mosaico mailing and traditional mailing. It is not affecting selecting multiple groups on other screens apart from the two mailing screens.</p>
  <p>When copying existing mailings, the recipients field now always says &quot;undefined&quot;, though it still shows the correct number of recipients in red next to the recipient selection field.</p>
  <p>I am running CiviCRM 5.64.3 with Drupal 9.5.10.</p>
  <p>I have tried disabling all the extensions and this has made no difference. I have also tried re-installing from my composer.json file. This worked for a few days, and then stopped working again. There are also no errors showing in the Chrome console log.</p>
  <p>I think the issue may have developed when I upgraded from 5.61 to 5.64, but I'm not sure. There are also no errors coming up in the Drupal log or the Civi log or the php error log.</p>
  <p><a href="https://i.sstatic.net/nGz5g.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/nGz5g.png" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-13T13:32:47.693Z
Comments.Text: Probably not, but possibly related to this issue: https://lab.civicrm.org/dev/core/-/issues/4507, where the fix was to run composer civicrm:publish
Comments.UserDisplayName: Lars SG
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-13T13:58:58.343Z
Comments.Text: That worked!! Yay! civicrm:publish really is magic. Almost as good as drush cr. If you want to add it as an answer I will confirm. Thank you so much! I spent about 2 days on this....
Comments.UserDisplayName: Ben
Tags: <civimail><groups>
Title: Unable to add multiple groups to mailings
ThreadText: # Unable to add multiple groups to mailings
  
  (Asked by: username_0 on 2023-09-13)
  
  Recently, when using CiviMail, I have been unable to include or add more than one group for the mailing recipient or exclude fields. It only allows me to select one group, and if I try and add another it replaces the existing one. This is affecting both the mosaico mailing and traditional mailing. It is not affecting selecting multiple groups on other screens apart from the two mailing screens.
  
  When copying existing mailings, the recipients field now always says "undefined", though it still shows the correct number of recipients in red next to the recipient selection field.
  
  I am running CiviCRM 5.64.3 with Drupal 9.5.10.
  
  I have tried disabling all the extensions and this has made no difference. I have also tried re-installing from my composer.json file. This worked for a few days, and then stopped working again. There are also no errors showing in the Chrome console log.
  
  I think the issue may have developed when I upgraded from 5.61 to 5.64, but I'm not sure. There are also no errors coming up in the Drupal log or the Civi log or the php error log.
  
  [![enter image description here](https://i.sstatic.net/nGz5g.png)](https://i.sstatic.net/nGz5g.png)
  
  **Tags:** civimail, groups
  
  > **Comments:**
  > **username_1**: Probably not, but possibly related to this issue: https://lab.civicrm.org/dev/core/-/issues/4507, where the fix was to run composer civicrm:publish  
  > **username_0**: That worked!! Yay! civicrm:publish really is magic. Almost as good as drush cr. If you want to add it as an answer I will confirm. Thank you so much! I spent about 2 days on this....  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-09-13. Score: 4 | Accepted answer
  
  Related to this issue: [lab.civicrm.org/dev/core/-/issues/4507](https://lab.civicrm.org/dev/core/-/issues/4507), where the fix was to run `composer civicrm:publish`
  
  
  ---
  
  