Moderation state filter showing Workflow titles

Created on 30 October 2019, over 4 years ago
Updated 29 June 2024, 4 days ago

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:

  • Workflow 1
    • State 1.a
    • State 1.b
  • Workflow 2
    • State 2.a
    • State 2.b

The filter configuration only has State 1.a and State 1.b selected.

The filter dropdown shows:

  • Workflow 1
    • State 1.a
    • State 1.b
  • Workflow 2

"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.

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
Content moderationΒ  β†’

Last updated about 2 hours ago

  • Maintained by
  • πŸ‡¦πŸ‡ΊAustralia @Sam152
Created by

πŸ‡ΊπŸ‡ΈUnited States arnaldop St Cloud, FL

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024