Replace default moderated_content view on install

Created on 3 October 2023, about 1 year ago

Problem/Motivation

The default moderated_content view does not work with sector_workflow's moderation states.

Steps to reproduce

Install sector and visit the moderated content view, no nodes are shown due to invalid filter options.

Proposed resolution

Replace the moderated_content view with a sector_workflow specific one, disabling the moderated_content view on install

📌 Task
Status

Active

Version

10.0

Component

Code

Created by

🇳🇿New Zealand somatick

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

Comments & Activities

  • Issue created by @somatick
  • 🇳🇿New Zealand somatick

    See attached patch.

    It did not appear to be possible to disable a view in a normal install hook, the suggested approach was to use hook_install_tasks from the profile itself

Production build 0.71.5 2024