From 721d41da62846374510ec9dfdc18c78637c8a175 Mon Sep 17 00:00:00 2001
From: Benjamin Howarth <322383+benjaminhowarth1@users.noreply.github.com>
Date: Wed, 12 Feb 2020 17:01:59 +0000
Subject: [PATCH] Update PropertyType.cs
Please, *please* stop making things internal when it breaks legacy behaviour (such as obtaining properties by tab group, which is precisely what this allows for).
---
src/Umbraco.Core/Models/PropertyType.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Umbraco.Core/Models/PropertyType.cs b/src/Umbraco.Core/Models/PropertyType.cs
index fd23756acb..bcafd549f0 100644
--- a/src/Umbraco.Core/Models/PropertyType.cs
+++ b/src/Umbraco.Core/Models/PropertyType.cs
@@ -178,7 +178,7 @@ namespace Umbraco.Core.Models
///
/// For generic properties, the value is null.
[DataMember]
- internal Lazy PropertyGroupId
+ public Lazy PropertyGroupId
{
get => _propertyGroupId;
set => SetPropertyValueAndDetectChanges(value, ref _propertyGroupId, nameof(PropertyGroupId));