Answers.Body: <p>This appears to be a bug in Webform civiCRM version 7x-5.6.  I've raised <a href="https://www.drupal.org/project/webform_civicrm/issues/3232416" rel="nofollow noreferrer">this issue</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-10T20:12:20.430Z
Answers.Text: Thanks @Andy Clark.
Answers.UserDisplayName: wil_SRQ
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-10T20:02:56.473Z
Answers.LastActivityDate: 2021-09-10T20:02:56.473Z
Answers.UserDisplayName: Andy Clark
Body: <p>We have tags to distinguish the set of grades taught in organizations of type School (1st snippet below). These tags are used in a form to filter the list of contacts (schools) available to select. This filter is working and has been working for over a year. The webform component, however, no longer shows the tag in the filter. Something changed since the creation of the form and, though the form continues to filter correctly, the filter configuration itself is not showing the correct tag. In fact it only offers a subset (top level w/o sub-entries) of the tags defined in Civi (2nd snippet). Glad it still works, but apprehensive that I don't understand how!</p>
  <p>CiviCRM 5.40.4, Drupal 7.82, webform 7.x-4.24, webform_civicrm 7.x-5.6</p>
  <p><a href="https://i.sstatic.net/l76xu.png" rel="noreferrer"><img src="https://i.sstatic.net/l76xu.png" alt="Tags in Civi" /></a></p>
  <hr />
  <p><a href="https://i.sstatic.net/E39ey.png" rel="noreferrer"><img src="https://i.sstatic.net/E39ey.png" alt="Tags in webform filter" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-09T09:19:45.077Z
Comments.Text: I noticed that one too, in 5.35.2.  Same situation, where tags are nested.  Bug in webform I guess?
Comments.UserDisplayName: Andy Clark
Tags: <webform-civicrm>
Title: Only top-level tags without sub-tags offered in webform contact filter
ThreadText: # Only top-level tags without sub-tags offered in webform contact filter
  
  (Asked by: username_0 on 2021-09-09)
  
  We have tags to distinguish the set of grades taught in organizations of type School (1st snippet below). These tags are used in a form to filter the list of contacts (schools) available to select. This filter is working and has been working for over a year. The webform component, however, no longer shows the tag in the filter. Something changed since the creation of the form and, though the form continues to filter correctly, the filter configuration itself is not showing the correct tag. In fact it only offers a subset (top level w/o sub-entries) of the tags defined in Civi (2nd snippet). Glad it still works, but apprehensive that I don't understand how!
  
  CiviCRM 5.40.4, Drupal 7.82, webform 7.x-4.24, webform\_civicrm 7.x-5.6
  
  [![Tags in Civi](https://i.sstatic.net/l76xu.png)](https://i.sstatic.net/l76xu.png)
  
  ---
  
  [![Tags in webform filter](https://i.sstatic.net/E39ey.png)](https://i.sstatic.net/E39ey.png)
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: I noticed that one too, in 5.35.2.  Same situation, where tags are nested.  Bug in webform I guess?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-09-10. Score: 4
  
  This appears to be a bug in Webform civiCRM version 7x-5.6. I've raised [this issue](https://www.drupal.org/project/webform_civicrm/issues/3232416)
  
  > **Comments:**
  > **username_0**: Thanks @username_1.  
  
  ---
  
  