Unverified Commit f9c65b11 authored by larowlan's avatar larowlan

Issue #2900700 by timmillwood: Add orderby to content_moderation schema sequences

parent 10a1e15f
......@@ -24,20 +24,6 @@ type_settings:
default_revision: true
weight: 0
transitions:
create_new_draft:
label: 'Create New Draft'
to: draft
weight: 0
from:
- draft
- published
publish:
label: Publish
to: published
weight: 1
from:
- draft
- published
archive:
label: Archive
from:
......@@ -56,4 +42,18 @@ type_settings:
- archived
to: published
weight: 4
create_new_draft:
label: 'Create New Draft'
to: draft
weight: 0
from:
- draft
- published
publish:
label: Publish
to: published
weight: 1
from:
- draft
- published
entity_types: { }
......@@ -22,11 +22,13 @@ workflow.type_settings.content_moderation:
states:
type: sequence
label: 'Content moderation states'
orderby: key
sequence:
type: content_moderation.state
label: 'States'
transitions:
type: sequence
orderby: key
sequence:
type: workflows.transition
label: 'Transitions'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment