Skip to content

Is it possible to have multiple draft versions? #17096

Answered by Piedone
mariojsnunes asked this question in Q&A
Discussion options

You must be logged in to vote

No, not exactly like this, since this is not how OC's versioning is designed. However, there are a couple of workarounds you can look into:

  • From a handler, when a draft is saved, publish it, then on the next line create a new draft and set the former published version as published (you can do this by setting the Published flag on the item directly, bypassing the content manager).
  • If you don't need multiple draft versions, per se, and just want to see how the drafts changed, Audit Trail already records these. E:g. these below were all just draft changes, and under Details you can see the diff with the previous draft:

What's your use case, though?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mariojsnunes
Comment options

@mariojsnunes
Comment options

@Piedone
Comment options

Answer selected by mariojsnunes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants