- π¬π·Greece iro
Patch applies and works as expected on Drupal 9.5.8.
When using the Moderation state as a filter in a View, the Workflows themselves are listed, in addition to the states.
For example, consider the following Workflows and states:
The filter configuration only has State 1.a and State 1.b selected.
The filter dropdown shows:
"Workflow 1" and "Workflow 2" should not appear. "Workflow 2" should not appear because none of its states are selected.
Only Workflows that have Content Types assigned to it have this problem.
In my setup, I have different Workflows for different Content Types. While it's ok that my filter configuration shows other Workflows that do not apply to my View's selected Content Types, it should not be the case that unrelated Workflows (only their titles) appear in the user's dropdown.
See screenshots for more info.
Needs work
11.0 π₯
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Patch applies and works as expected on Drupal 9.5.8.