Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to configure item Publish options, such as deep, smart or related items options, when publishing a list of items. #50

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

sgisbert
Copy link

@sgisbert sgisbert commented Aug 25, 2015

I've extended the "ItemsToPublish" class with three more parameters to control how an item is published: publish subitems (deep), compare revisions (smart) and publish related items or not.

I've added them to the constructor with the same values that are being used now, to keep backwards compatibility. Then, just changed the hardcoded "true" values is method call Publishing.PublishManager.PublishItem(), and added the related items one, that was missing.

This way, the caller can widely control how the items in the list provided are being published.

Hope this helps.
Regards.


This change is Reviewable

@kevinobee kevinobee self-assigned this Sep 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants