Fix No moderated content available in the Moderated Content Admin View

Created on 5 June 2023, over 1 year ago
Updated 24 June 2023, over 1 year ago

Problem/Motivation

Administration Views for Moderated Content

Varbase Workflow adds a simple administration view to show the available drafts and their moderation state. This view is available for all roles who can edit content.
To see the available drafts, navigate to: Administration \ Content \ Moderated content

No moderated content available. Only pending versions of content, such as drafts, are listed here.

Proposed resolution

  • Add enforced dependencies for content_moderation
  • Apply the moderation state filter with not published value for the Varbase Simple and Editorial workflows.
  • Import the custom Varbase Moderated Content view
  • Add a hook update if views.view.moderated_content has
    display:
      default:
        display_options:
          filters:
            moderation_state_1:
              value:
                editorial-published: editorial-published
    

    Change the value

    display:
      default:
        display_options:
          filters:
            moderation_state_1:
              value:
                varbase_editorial_workflow-published: varbase_editorial_workflow-published
                varbase_simple_workflow-published: varbase_simple_workflow-published
    

Remaining tasks

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

After the fix:

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024