Skip to content

fix(core): Adding back support of Bring Back Version feature in Container's portlet #32205

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nollymar
Copy link
Contributor

Proposed Changes

  • The Bring Back version feature was removed from containers after a refactor made here. These changes add it back. The functionality was removed in 2021.

Refs: #32127

@@ -18,7 +18,7 @@
final String containerId = httpServletRequest.getParameter("containerId");
Container container = APILocator.getContainerAPI().getWorkingContainerById(containerId, user, true);
request.setAttribute(com.dotmarketing.util.WebKeys.VERSIONS_INODE_EDIT, container);
request.setAttribute("hideBringBack", true);
request.setAttribute("hideBringBack", false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja!

Copy link
Contributor

@jdotcms jdotcms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bring Back older versions of Container missing.
4 participants