Fixed filling default values for tagssets in the advanced search form #17978
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The edit smart group form does not fill the default values for tag sets.
Reproduction steps
Create a tag set. This can be done in the civicrm/tag?reset=1 form. Example:

Now the tagset shows up in the advanced search:

Create smart group from this advanced search. This smart group works fine
Go to the smart group settings screen (1 - Manage Smart Groups, 2 - Go to the settings form of the smart group , 3 Click Edit Smart Group Criteria)
Now you cannot see what values of the tagset are chosen.
Current behavior
Expected behavior
This is needed to know what the original selection was
Environment information
Reproduced on the master 5.29.alpha1.
Comments
Related to https://lab.civicrm.org/dev/core/-/issues/1542