Split force for publish descendants into separate options for publish unpublish and re-publish unedited (15) (#18270)
* Port server-side updates from 13 implementation. * Update openapi.json * Update typed client. * Ported over front-end amend from 13. * Handled edge case of publishing invariant root with variant descendants. * Refactor to enum. * Resolved CodeScene warning. * Resolved CodeScene warning. * Resolved CodeScene warning. * Applied suggestions from code review. * Reverted breaking change in integration tests. * Refactored method name.
This commit is contained in:
@@ -86,7 +86,7 @@ public class UmbracoTestDataController : SurfaceController
|
||||
var imageIds = CreateMediaTree(company, faker, count, depth).ToList();
|
||||
var contentIds = CreateContentTree(company, faker, count, depth, imageIds, out var root).ToList();
|
||||
|
||||
Services.ContentService.PublishBranch(root, true, new[] { "*" });
|
||||
Services.ContentService.PublishBranch(root, PublishBranchFilter.IncludeUnpublished, ["*"]);
|
||||
|
||||
scope.Complete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user