Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CM Filtering] Review Worlflows stages filtering is applied to by-default RW and not the RW assigned to the CT #20521

Open
MarionLemaire opened this issue Jun 14, 2024 · 0 comments
Labels
version: 4 Issue related to v4

Comments

@MarionLemaire
Copy link
Contributor

Bug report

Required System information

Node.js version: v20.9.0
Strapi version: 4.24.6 and previous versions
Operating system: Windows WSL

Describe the bug

Filtering by RW stage is not possible when the collection type is associated to a workflow created by a user, and not by the workflow by default. When you try to filter by stages, the options proposed are incorrect.

Steps to reproduce the behavior

  1. Go to Settings > Review Workflows
  2. Create a new workflow
  3. Assign this new workflow to an existing Collection Type
  4. Go back to Content Manager, create entries for this Collection Type, with different RW stages
  5. In CM List view, filter by Review stage IS :
  6. Check that the stages proposed in the dropdown are not the ones of the workflow associated to this CT, but the ones of the by default workflow

Expected behavior

Stages proposed in the dropdown list filtering should be the ones from the workflow associated to this collection type.

Screenshots

In red : the RW stages by default, in blue : the RW stages for this CT > filtering by stages is not possible as stages don't match
image

@MarionLemaire MarionLemaire added the version: 4 Issue related to v4 label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version: 4 Issue related to v4
Projects
Status: To review
Development

No branches or pull requests

1 participant