From bf004a93386c1565c659c783452aec46b5299cba Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Mon, 10 Jun 2019 16:10:00 +0100 Subject: [PATCH] Fix #25 Check for IsListView not IsContainer (name mismatch) --- .../Serialization/Serializers/ContentTypeBaseSerializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uSync8.Core/Serialization/Serializers/ContentTypeBaseSerializer.cs b/uSync8.Core/Serialization/Serializers/ContentTypeBaseSerializer.cs index 70cde4a7..c7df7621 100644 --- a/uSync8.Core/Serialization/Serializers/ContentTypeBaseSerializer.cs +++ b/uSync8.Core/Serialization/Serializers/ContentTypeBaseSerializer.cs @@ -191,7 +191,7 @@ protected void DeserializeBase(TObject item, XElement node) if (item.IsElement != isElement) item.IsElement = isElement; - var isContainer = info.Element("IsContainer").ValueOrDefault(true); + var isContainer = info.Element("IsListView").ValueOrDefault(false); if (item.IsContainer != isContainer) item.IsContainer = isContainer;