reverting all things to do with additional list view column in db which is no longer necessary and removing additions to ui changes in the content tyep editor which are also no longer necessary
This commit is contained in:
@@ -305,8 +305,7 @@ namespace Umbraco.Core.Services
|
||||
new XElement("Thumbnail", contentType.Thumbnail),
|
||||
new XElement("Description", contentType.Description),
|
||||
new XElement("AllowAtRoot", contentType.AllowedAsRoot.ToString()),
|
||||
new XElement("IsListView", contentType.IsContainer.ToString()),
|
||||
new XElement("ContainerConfig", contentType.ContainerConfig.ToString()));
|
||||
new XElement("IsListView", contentType.IsContainer.ToString()));
|
||||
|
||||
var masterContentType = contentType.CompositionAliases().FirstOrDefault();
|
||||
if (masterContentType != null)
|
||||
|
||||
@@ -423,17 +423,8 @@ namespace Umbraco.Core.Services
|
||||
//NOTE IsListView is a new property in the package xml so we need to verify it exists before using it.
|
||||
var isListView = infoElement.Element("IsListView");
|
||||
if (isListView != null)
|
||||
{
|
||||
contentType.IsContainer = isListView.Value.InvariantEquals("true");
|
||||
|
||||
//NOTE ContainerConfig is a new property in the package xml so we need to verify it exists before using it.
|
||||
var containerConfig = infoElement.Element("ContainerConfig");
|
||||
if (containerConfig != null)
|
||||
{
|
||||
contentType.ContainerConfig = containerConfig.Value;
|
||||
}
|
||||
}
|
||||
|
||||
UpdateContentTypesAllowedTemplates(contentType, infoElement.Element("AllowedTemplates"), defaultTemplateElement);
|
||||
UpdateContentTypesTabs(contentType, documentType.Element("Tabs"));
|
||||
UpdateContentTypesProperties(contentType, documentType.Element("GenericProperties"));
|
||||
|
||||
Reference in New Issue
Block a user