You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes our comms team will have a facet group that is different but has the same visible label as an existing facet type for display. We've noticed that when this happens, it's not actually possible to select facets from this type, or in other cases the previous type. Note this will always be on an exclusive basis, there will never be a directory with both.
I traced the issue to src/Plugin/Field/FieldWidget/FacetFieldWidget.php, though I think this may be a core issue as the options that are being brought back are using the label of the facet type instead of the id, which is causing whichever is later in the list to overwrite them.
Sometimes our comms team will have a facet group that is different but has the same visible label as an existing facet type for display. We've noticed that when this happens, it's not actually possible to select facets from this type, or in other cases the previous type. Note this will always be on an exclusive basis, there will never be a directory with both.
I traced the issue to src/Plugin/Field/FieldWidget/FacetFieldWidget.php, though I think this may be a core issue as the options that are being brought back are using the label of the facet type instead of the id, which is causing whichever is later in the list to overwrite them.
localgov_directories/src/Plugin/Field/FieldWidget/FacetFieldWidget.php
Line 35 in 26f61ad
Though also noting
localgov_directories/src/Plugin/Field/FieldWidget/FacetFieldWidget.php
Lines 36 to 54 in 26f61ad
The text was updated successfully, but these errors were encountered: